Last active
October 12, 2016 08:45
-
-
Save haiyon/fd6be70f69e092c788560c9241a3c836 to your computer and use it in GitHub Desktop.
pm2 run config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "apps": [{ | |
| "name": "app-service", | |
| "script": "server/index.js", | |
| "watch": true, | |
| "log_date_format": "YYYY-MM-DD HH:mm Z", | |
| "instances": 2, | |
| "ignoreWatch": ["[\\/\\\\]\\./", "node_modules"], | |
| "merge_logs": true, | |
| "exec_interpreter": "./node_modules/.bin/babel-node", | |
| "exec_mode": "fork", | |
| "port": 12000, | |
| "env": { | |
| "NODE_ENV": "development", | |
| } | |
| }] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment