title: Setting Path for Mocha with --config
body: <p>Mocha does not find the path to .mocharc.js file with the config.</p>
  
  <p>The file is located at: app/test/.mocharc.js</p>
  
  <p>I have tried setting relative as well as full paths and it always throws an error. Used quotation marks, double quotations, escaped quotations... Still I get the same error.</p>
  
  <p>In package.json:</p>
  
  <pre><code>"scripts":{
      test": "nodemon --exec \"mocha --config \"./test/.mocharc.js\""
  },
  </code></pre>
  
  <p>Command line Error log:</p>
  
  <pre><code>throw new Error(`failed to parse ${filepath}: ${err}`);
  ^
  Error: failed to parse ./test/.mocharc.js: Error: Cannot find module './test/.mocharc.js'
  </code></pre>