This is my first time working with Node.js and I ran into this problem:
I have started a Node server through the plugin of an IDE. Unfortunately, I cannot use the ID
Use the following command to kill and restart node server from batch file
@echo off cd "D:\sam\Projects\Node" taskkill /IM node.exe -F start /min cmd /C "node index.js" goto :EOF