Given the following bash script, I would like the second step (the http-server invocation) to be run in the background.
The following appears to create a background process before the grunt call completes successfully, which is unexpected.
grunt build && http-server ./dist/artifacts -p 11111 &
I want the grunt step to run to successful completion, and then for the http-server call to be made with it running in the background.
What am I doing wrong?