folder watch
lvegerano opened this issue · comments
Not sure if Im doing something wrong, but Im using a basic config:
nodemon: {
dev: {
script: 'server.js',
watch: ['my_modules/.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] starting node server.js
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
#47 (comment)
.