andruschka / pm2-meteor

Simplest way to deploy, scale and run Meteor Apps with PM2.
https://www.npmjs.com/package/pm2-meteor
160 stars 38 forks source link

question: deploy only new settings.json #57

Closed kamil7732 closed 7 years ago

kamil7732 commented 7 years ago

Is there option to only deploy new settings.json? I don't need to build brand new bundle just send a changed settings.json file.

eleventy commented 7 years ago

For simple changes, I log into the server, modify the pm2-env.json file directly, and reload the app:

ssh my.server.com
...
cd /opt/pm2-meteor/myapp
nano pm2-env.json
...
pm2 reload myapp
andruschka commented 7 years ago

pm2-meteor reconfig will do it ;-)