Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
transient-ad opened this issue Feb 6, 2018 · 4 comments

Comments

@transient-ad
Copy link

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?

@jecyu
Copy link

jecyu commented Apr 11, 2018

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

@jecyu
Copy link

jecyu commented Apr 11, 2018

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

@Bruce-zxy
Copy link

The same problem.

@broofa
Copy link

broofa commented Jul 31, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants