camicroscope / Caracal

Conslidated Backend, Auth, and Security Services for caMicroscope
GNU General Public License v3.0
15 stars 94 forks source link

Discussion : Migrate to PM2 #94

Open YashKumarVerma opened 3 years ago

YashKumarVerma commented 3 years ago

Is your feature request related to a problem? Please describe.

New Possibilities that open up

birm commented 3 years ago

I'm not 100% sold, but watching configs could be a good addition. It's got to be better than nodemon, right? :)

YashKumarVerma commented 3 years ago

yeah nodemon could definitely handle the live update part, and since nodemon supports a custom config file, we can properly document the configs too. I personally use nodemon for live changes in my projects.

The reason why I wanted to discuss pm2 is that it could perform the actions of both, throng and nodemon, with zero affect on the codebase, plus the benefits that pm2 provides.

birm commented 3 years ago

That's fair. So long as it's not too big/slow on install, I see no issue. :)