Closed lvegerano closed 10 years ago
Need to nest watch
in options.
nodemon: {
dev: {
script: 'server.js',
options: {
watch: ['my_modules/.js']
}
}
}
opps!!! thanks and sorry for the dumb mistake
No problem, should clarify this better in the docs since it is a common issue
On Thursday, July 31, 2014, blak422 notifications@github.com wrote:
opps!!! thanks and sorry for the dumb mistake
— Reply to this email directly or view it on GitHub https://github.com/ChrisWren/grunt-nodemon/issues/47#issuecomment-50803473 .
Not sure if Im doing something wrong, but Im using a basic config: nodemon: { dev: { script: 'server.js', watch: ['mymodules/.js'] } } Still restarts the server on any root folder changes [nodemon] v1.2.1 [nodemon] to restart at any time, enter
rs
[nodemon] watching: *._ [nodemon] startingnode server.js