petruisfan / node-supervisor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CPU high usage for supervisor

swizardlv opened this issue · comments

When I run 'supervisor ./bin/www' , The node CPU usage become over 100% after supervisor run.
after

When I run node ./bin/www the cpu usage is low.
before

> node -v
v5.2.0

Try with this option:

--poll-interval 5007

@petruisfan I add the option but still high cpu usage.

Is node_modules or bower_components inside the folder you are watching?

@petruisfan , I think so, How can i ignore them?

-i node_modules,bower_components