before() {
      if (process.env.START_HOT) {
        console.info('Starting Main Process...');
        spawn('npm', ['run', 'start-main-dev'], {
          shell: true,
          env: process.env,
          stdio: 'inherit',
        })
          .on('close', (code) => process.exit(code))
          .on('error', (spawnError) => console.error(spawnError));
      }
    }
Create global constants which can be configured at compile time.

Useful for allowing different behaviour between development builds and
release builds

NODE_ENV should be production so that modules do not perform certain
development checks

By default, use 'development' as NODE_ENV. This can be overriden with
'staging', for example, by changing the ENV variables in the npm scripts