module.exports = {
  apps: [
    {
      name: "ImEX Online API",
      script: "./server.js",
      watch: true,
      watch_delay: 1000,
      ignore_watch: ["node_modules", "client/img"],
      watch_options: {
        followSymlinks: false
      },
      env: {
        NODE_ENV: "production"
      },
      instances: "max",
      exec_mode: "cluster"
    }
  ]
};
