module.exports = {
  "apps" : [{
    "name": "express",
    "script": "./src/app/index.js",
    "interpreter": "./node_modules/.bin/babel-node",
    "watch": ["src/server/**/*.js", "src/app/**/*.js", "babel.config.js"],
    "watch_options": {
      "usePolling": true,
      "alwaysStat": true,
      "useFsEvents": false
    },
    "env": {
      "NODE_ENV": "development",

      "ELASTIC_APM_SERVICE_NAME": "bughouse-web",
      "ELASTIC_APM_SERVER_URL": "localhost:8200",

      "REDIS_SESSION_STORE_URL": "redis://localhost:6379/0",
      "REDIS_APPLICATION_STORE_URL":  "redis://localhost:6379/1"
    }

  }, {
    "name": "webpack",
    "script": "./node_modules/.bin/webpack-dev-server",
    "watch": ["config/webpack.config.js"],
    "args": "--watch --cache --config config/webpack.config.js",
    "env": {
      "NODE_ENV": "development"
    }

  }, {
    "name": "simul",
    "script": "./src/simul/index.js",
    "interpreter": "./node_modules/.bin/babel-node",
    "watch": ["src/simul/**/*.js", "babel.config.js"],
    "watch_options": {
      "usePolling": true,
      "alwaysStat": true,
      "useFsEvents": false
    },
    "env": {
      "NODE_ENV": "development",
      "ELASTIC_APM_SERVICE_NAME": "bughouse-simul"
    }
  }]
}

@@ -422,58 +422,8 @@
 eb%22,
-%0A      %22ELASTIC_APM_SERVER_URL%22: %22localhost:8200%22,
 %0A%0A  

remove unnecessary environment variable