title: How do I start react serve in Development mode?
body: <p>So, I have a React app, which is live on production using <code>serve</code>.</p>
  
  <p>These are the commands I've used for doing so:</p>
  
  <pre><code>NODE_ENV=production react-scripts build
  
  NODE_ENV=production serve -s build
  </code></pre>
  
  <p>So that's production done!
  But now I want to do the same thing on the development server.
  I've tried this:</p>
  
  <pre><code>NODE_ENV=development react-scripts build
  
  NODE_ENV=development serve -s build
  </code></pre>
  
  <p>But that still compiles as the production build, and even <code>serve</code> starts on production mode.</p>
  
  <p>How can I build and run using <code>react-scripts</code> &amp; <code>serve</code> on development mode?</p>
  
  <hr>
  
  <h2>I don't want to:</h2>
  
  <ol>
  <li>Run via <code>npm run start</code>, since that crashes my server (by consuming a lot of resources while compiling)</li>
  <li>Use <code>dotenv</code> for setting environment variables, since that's third-party.</li>
  </ol>