In package.json commands are chained together using &&, which fails on Windows' Command Prompt (CMD). A potential solution is to use ||, which should work in CMD, to chain both shell's commands together. & may work for CMD. The downside is potentially unweildy commands.
In package.json commands are chained together using
&&
, which fails on Windows' Command Prompt (CMD). A potential solution is to use||
, which should work in CMD, to chain both shell's commands together.&
may work for CMD. The downside is potentially unweildy commands.E.g.
bash one && bash two || cmd one & cmd two