module.exports = {
  apps: [
    {
      name: 'Saturday Sharing',
      script: './bin/www',
      time: true,
      exec_mode: 'cluster',
      instances: '1',
      node_args: ['--inspect=0.0.0.0:9229'],
      watch: true,
      ignore_watch: ['public/**/*', 'views/**/*.ejs'],
      env_production: {
        NODE_ENV: "production"
      },
      env_development: {
          NODE_ENV: "development"
      }
    },
  ],
};
