title: Reload PM2 configuration file
body: <p>I have problems with reloading PM2 configuration file after editing it:</p>
  
  <pre><code>{
      "apps": [
          ...
          {
              "name": "foo",
              "script": "foo/index.js",
              "cwd": "foo",
              "watch": false
          }
      ]
  }
  </code></pre>
  
  <p>I previously did</p>
  
  <pre><code>pm2 restart config.json
  </code></pre>
  
  <p>and </p>
  
  <pre><code>pm2 reload config.json
  </code></pre>
  
  <p>and</p>
  
  <pre><code>pm2 gracefulReload config.json
  </code></pre>
  
  <p>but they didn't reload the configuration for existing apps (the changes in app config did not apply). The only way that worked for me was:</p>
  
  <pre><code>pm2 delete foo
  pm2 restart config.json
  </code></pre>
  
  <p>How is this supposed to be done?</p>