I want to automate reactjs build process. So I created batch file contains series of commands like
cd react-project && npm i && npm run eject && npm run build && serve -s build
Everything works fine until it executes serve -s build it is supposed to keep running the command without closing cmd but it shutdown cmd without throwing an error
 
    