node-generator-chrome-ninja
node-generator-chrome-ninja copied to clipboard
Fixed manifest not reloading during dev watch task
The manifest.js task (specifically manifest:dev) has a watch task to recompile the manifest whenever it is modified. However, because the manifest is imported at the top of the file, the manifest doesn't properly reload as you would expect (the import only reloads the file when the gulp tasks are being built). Moved importing the manifest to the actual build function (and deleting the require cache to force reload of the manifest file).