nodemon: [nodemon] Internal watch failed: watch ENOSPC
After restarting Nodemon with the same file got this Error.
Os: CentOs 7
[nodemon] 1.10.2
[nodemon] to restart at any time, enter rs
[nodemon] watching: .
[nodemon] starting node telefumSearcher.js
[nodemon] Internal watch failed: watch /home/st.cremer/Сайты/telefumsearcher ENOSPC
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 1
- Comments: 34 (1 by maintainers)
This work for me echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
@keshrirai have you tried this? its works for me. echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
@madanpandey97 echo fs.inotify.max_user_watches=524288 it increase the number of watches of nodemon as you made some changes in your project and sudo tee -a /etc/sysctl.conf && sudo sysctl -p is sysctl command for configure kernel parameters at runtime @lenikhilsingh
you can use ps -ef | grep node to find the process id
and then sudo kill -9
Works for me, thanks Man.
thanks @dontito94 t worked for me too 😉
@dontito94 worked for me, thanks.