I have a project which works with custom-react-scripts and I faced with memory leaks during development. The application is developed using React, Mobx, Mobx-State-Tree and uses decorators with babel.
When i start development server with command react-scripts start
2-3 node.js instances are started:
And when i'm changing some code in the project custom-react-scripts rebuilds project and more node.js instances appears:
Few moments after that all memory are allocated with node.js instances and my laptop starts freezing.
Does anyone know how to prevent custom-react-scripts to start new nodejs instances and solve this memory leak issue ?