Answers for "nodemon exit command"

8

nodemon script

# Install nodemon
npm i nodemon
# Write a script like ...
"scripts": {
        "start":"nodemon index.js"
    }
# Start in your terminal with something like ...
nodemon ./server.js localhost 8000
or
npm run server
Posted by: Guest on April-23-2021
0

nodemon close server that's running

Linux:

Assuming this is Linux, do: ps aux | grep -i nodemon 
find out which process number nodemon is, then issue a: kill -9 [process ID]

Alternatively you could do: killall nodemon 
if that was the only instance running

Or Even better: pkill -f nodemon
Posted by: Guest on December-13-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language