petruisfan / node-supervisor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Infinite restarts of "Starting child process"

danchistyakov opened this issue · comments

When I just trying to run a very simple code with Supervisor i get infinite restarts of my code.
Image of logs
Code:
const Test = () => { console.log("test"); }; Test();
Node.js: v14.17.3;
npm: 7.20.5

commented

Yep I've got the same problem for some reason it doesn't like my code. Ironically exact same script works fine with nodemon which I normally have problems with hence why I generally use Supervisor.

have u solve this?
I Think it can be a problem with this node version