module.exports = {
  apps: [
    {
      name: 'simplexnoisemapgenerator',
      script: 'index.js',
      max_memory_restart: '1024M',
      instances: 0,
      log_date_format: 'YYYY-MM-DD HH:mm:ss.SSS'
    }
  ]
}

@@ -197,16 +197,35 @@
 :ss.SSS'
+,%0A      watch: true
 %0A    %7D%0A 

Set up watch flag in pm2 ecosystem file