Force nodemon to watch file from node_modules
Force nodemon to watch file from node_modules
Hello is there any chance of making nodemon
watch for changes of a specific module in node_modules
nodemon
node_modules
I have started the nodemon like this
nodemon index.js --watch 'node_modules/specific_module/**
I have also tried with nodemon.json
file
nodemon.json
"watch": [
"node_modules/specific_module/**"
]
But to no avail. Is there any way of achieving this behavior or anything in node_modules
is forever ignored no matter what i do?
node_modules
Yeah I have just found that not sure how I failed to notice that. Well make it an answer :)
– Rouz
Sep 15 '18 at 18:40
0
Thanks for contributing an answer to Stack Overflow!
But avoid …
To learn more, see our tips on writing great answers.
Required, but never shown
Required, but never shown
By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy
Check the docs on github: github.com/remy/nodemon/blob/master/…
– Variable
Sep 15 '18 at 18:38