kitze / custom-react-scripts

[DEPRECATED, use customize-cra] Allow custom config for create-react-app without ejecting
https://custom-react-scripts.netlify.com
MIT License
993 stars 97 forks source link

CPU, RAM drain #111

Open marcosfede opened 6 years ago

marcosfede commented 6 years ago

same issue as #110, reopening here since the original author closed that one. I'm having several node proceses spawned, taking almost 90% of CPU Power and 500Mb of ram each. Hot reloading is also impacted, taking between 5 to 10 seconds to reload after a changed is saved.

OS: Tested on both Linux and Mac custom-react-scripts version : 0.2.0 react version: 16

kitze commented 6 years ago

Thanks for reporting @marcosfede, any ideas what can cause this?

marcosfede commented 6 years ago

Not really, I've tried disabling all custom features on the .env file but the problem still persists. Tried on 4 different machines and I seem to have between 3-4 node proceses taking over the cpu in all of them. Let me know if theres anything I should try. Thanks

otaklapka commented 6 years ago

Try to update latest react-scripts, i solved this by creating fresh fork of cra and adding just sass which works just Fine.

psycura commented 6 years ago

i`m facing same issue. Otas13, how i can update only scripts?

JCQuintas commented 6 years ago

Having the same issue.

geloescht commented 6 years ago

On my installation those issues were due to webpack-dashboard which was not disabled even if I thought I had done so. See #114

pedsmoreira commented 6 years ago

Disabling REACT_APP_WEBPACK_DASHBOARD did the trick for me. (I event using it. Maybe, if it was connect it wouldn't cause this. I don't know :/)