node-supervisor icon indicating copy to clipboard operation
node-supervisor copied to clipboard

100% CPU load when I use 'supervisor app.js' but when I use' node app.js ' just only 5% CPU load

Open transient-ad opened this issue 7 years ago • 4 comments

100% CPU load when I use 'supervisor app.js' but when I use' node app.js ' just 5% CPU load ;

Is it cause by node or supervisor ? how to resolve?

transient-ad avatar Feb 06 '18 13:02 transient-ad

I'm having the same problem, did you fix it? @transient-ad

jecyu avatar Apr 11 '18 01:04 jecyu

How to auto-reload files in Node.js? you can find a solution in here. @transient-ad

jecyu avatar Apr 11 '18 01:04 jecyu

The same problem.

Bruce-zxy avatar May 16 '18 06:05 Bruce-zxy

Switching to nodemon is probably a good idea, given the lack of activity in this project.

Re: CPU load, try adding --ignore node_modules to make sure supervisor isn't burning a lot of cycles watching for changes in files there.

broofa avatar Jul 31 '18 18:07 broofa