I've setup a Sitecore 9.0.2 solution, and i'm testing out JSS. I'm using code-first, and I'm trying to get FullWipe to work on jss deploys.
According the documentation, i'm supposed to set SitecoreJss.WipeAllowed = true, and set wipeOnImport = true.
These settings are from my showconfig.aspx:
<setting name="SitecoreJSS.WipeAllowed" value="true" patch:source="Sitecore.JavaScriptServices.Configuration.config"/>
<app name="customer" sitecorePath="/sitecore/content/jss-home" useLanguageSpecificLayout="true" graphQLEndpoint="/api/customer" inherits="defaults" wipeOnImport="true" patch:source="customer.deploysecret.config" deploymentSecret="..." debugSecurity="false"/>
I was expecting it to delete the previously added app items in Sitecore (or put in recycle bin) on each deploy, but it is not doing so. It simply just appends templates and fields on templates.
Im doing: jss deploy app -c -d
to deploy my app.
Can anyone tell me what I'm doing wrong here?