This is a fun question. It really depends on what I'm working on. If I'm doing something in plain JS without an dependencies (rare) it's easy enough to just node index.js. When I'm working on an Express server I add a script to my package.json called dev that starts up nodemon, so I can just yarn dev and leave the server up while I work on it.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
This is a fun question. It really depends on what I'm working on. If I'm doing something in plain JS without an dependencies (rare) it's easy enough to just
node index.js
. When I'm working on an Express server I add a script to mypackage.json
calleddev
that starts up nodemon, so I can justyarn dev
and leave the server up while I work on it.