diff options
Diffstat (limited to 'ecosystem.config.js')
| -rw-r--r-- | ecosystem.config.js | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/ecosystem.config.js b/ecosystem.config.js index a44c0de5..12a23b71 100644 --- a/ecosystem.config.js +++ b/ecosystem.config.js @@ -3,14 +3,15 @@ module.exports = { { name: 'coinos', script: 'index.js', - exec_interpreter: './node_modules/.bin/babel-node', - exec_mode: 'fork', watch: ['*.js'], + interpreter: 'node', env: { - COMMON_VARIABLE: 'true' + COMMON_VARIABLE: 'true', + NODE_OPTIONS: '--require ./.pnp.js', }, env_production: { - NODE_ENV: 'production' + NODE_ENV: 'production', + NODE_OPTIONS: '--require ./.pnp.js', } }, ] |
