watchedFolders/ignored options are ignored in version 0.2.0
dimitrisuls opened this issue · comments
Hi,
Since I upgraded to grunt-nodemon 0.2.0 the values passed to "watchedFolders" or "ignored" aren't being used...
No idea how this is happening.
I have the following config in my Gruntfile.js:
nodemon: {
server: {
options: {
watchedFolders: ['<%= config.api %>', '<%= config.config %>'],
nodeArgs: ['--debug'],
delayTime: 0.1
},
script: 'app.js',
}
},
When I add folders to ignore (such as ".tmp/"), nodemon doesn't seem to do anything with it.
And the output in my terminal is the following:
[nodemon] v1.0.12
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: *.*
[nodemon] starting `node --debug app.js`
So it doesn't say "watching folders: xxx, xxx" anymore..
Any idea how to solve this?
Hey, looking into this now. I should have done more testing with the different options.
Oke awesome thanks.
On Jan 19, 2014 6:15 PM, "Chris Wren" notifications@github.com wrote:
Hey, looking into this now. I should have done more testing with the
different options.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/32#issuecomment-32713413
.
Thanks for pointing this out, I updated the property names for watchedFolders, watchedExtensions, and ignored. You should be able to just updated your config since grunt-nodemon just takes the options and passes them to nodemon. watchedFolders -> watch, ignored -> ignore.
That works! Thanks for the swift help :).