I know one can run two commands in one line in Windows CMD like this:
dir & echo foo
But how could one run two commands parallel? I also know that one can achieve this by using START. But then you have to put those commands into a batch file. I would want to launch them parallel from the command line itself.
What I would like to achieve is something like this:
set NODE_ENV=development&& nodemon -e js,jsx,cjsx,css,scss,html,coffee --watch ./app/ server/server.js & set NODE_ENV=development&& node server/hotLoadServer.js
If I run the commands separately in separate windows, they work perfect. But I cannot seem to get them run as a one liner in one cmd prompt. What happens is, the first one is run, the second is not. The first one will remain open, and the second one is never executed.