Closed nurikabe closed 6 years ago
spectacle deletes all *.html files.
@auscaster Are there any reasons to delete all html files rather than generated files?
https://github.com/sourcey/spectacle/blob/master/app/lib/config.js#L124-L131
clean: {
options: {
force: true
},
cache: [options.cacheDir],
assets: [options.targetDir + '/stylesheets/**/*.css', options.targetDir + '/javascripts/**/*.js'],
html: [options.cacheDir + '/**/*.html', options.targetDir + '/**/*.html']
},
Any changes to the template files should be made to the view files under app/views
If I supply a different filename, for example:
Spectacle will still delete
public/index.html