You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently fire the app up in production with pm2 start 'yarn start', which may end up creating more processes and daemons than we need in production. E.g., we definitely don't need parcel running (#334), and should probably not be using nodemon either. This should probably just be pm2 start src/server/index.js or something.
Anyway just spit-balling; the point is we're probably not starting our app the right way and this may be the source of some of our pm2 management problems!
The text was updated successfully, but these errors were encountered:
reefdog
added
blocked
Can't work on yet. (This isn't a pejorative!)
hosting
Concerns hosting environment / deployed services
and removed
blocked
Can't work on yet. (This isn't a pejorative!)
labels
Feb 27, 2020
I do think we should probably have it be yarn start or something similarly black-box-expected-to-start-things-properly. However I think yarn start needs fixing as described in #334.
We currently fire the app up in production with
pm2 start 'yarn start'
, which may end up creating more processes and daemons than we need in production. E.g., we definitely don't need parcel running (#334), and should probably not be usingnodemon
either. This should probably just bepm2 start src/server/index.js
or something.Anyway just spit-balling; the point is we're probably not starting our app the right way and this may be the source of some of our pm2 management problems!
The text was updated successfully, but these errors were encountered: