Closed syavorsky closed 6 years ago
I had the same thing happen too :(
Our company has switched to per-env
to avoid a lot of the && ||
bullcrap...
Perhaps the README should be updated to reveal this issue?
Correction. The README was updated, but a new version hasn't been published since so the README on npm doesn't show the update.
Oh, thanks for letting me know! I'll push a new version. Because of bash-level fun like this, I've mostly switched to using per-env
:
Between p-s
and per-env
, looks like package.json
could use some help ;)
Promise I'm going to re-release. Been busy with https://twitter.com/ericclemmons/status/951552612754698245
Ok, v1.0.4
is on NPM with what I assume to be the latest README.
It seems every project I've ever had deploys & publishes differently, so here's hoping it worked. :shrug:
This command may play really bad joke with you, I learned it a hard way
if your app dies on unhandled exception then
npm run start:prod
returns no-zero code, then this expression proceeds to thenpm start:dev
and restarts your app in dev mode