Open crazyyi opened 7 years ago
in linux they should be under
/usr/local/lib/node_modules/web-pm2/processes
Thanks but is it OK to modify files in the node_modules
directory? Will it be overridden when I update the module? This looks more like a hack than configuration.
That's a very good point, they will be deleted upon update, so right now I guess it's better to install this module locally. I'll try to think of something for global module, do you have any suggestions?
It will be better if I can just create some configuration file in my project's root just like what pm2 generate
command does, or even better just put the configuration in the package.json file and web-pm2 can read the settings from it.
Where is the processes directory of web-pm2 in Linux? I still don't know how to monitor the current pm2 process after I do a npm install. My app's entry is server.js. But web-pm2 can't find my app when my app is online.