How to start npm start Command As Windows Service?

21-01-2018

With the following batch file content, we can start automatically npm start command by creating Windows Service Using NSSM

set HOMEDRIVE=C:
set HOMEPATH=\Users\%USERNAME%
cd C:\Chat App
npm start app.js

© 2019 All rights reserved. Codesenior.COM