title: How to run a development server in Laravel Mix (standalone project)
body: <p>I'm trying to run a server to see my project on browser, the only way i can do it is running <code>npx mix watch --hot</code>, so after that my project start running at <code>localhost:8080</code>.</p>
  <p>But the above command enable <code>hot reload</code>, i would like to know if there is some specific command to just run the server, without enabling <code>hot reloading</code>.</p>
  <p>I tried <code>npm mix watch</code> but it not starts the server, just watch the files.</p>
  <p>Tried calling manually webpack server with:</p>
  <p><code>./node_modules/.bin/webpack serve --config=&quot;./node_modules/laravel-mix/setup/webpack.config.js&quot;</code></p>
  <p>This works (the server starts at <code>localhost:8080</code> as well) but somehow it activates <code>hot reloading</code> too, idk why.</p>
  <p>So, there is some way to just start the server? Without enabling <code>hot reloading</code>?</p>
  <p>Here is my <code>webpack.mix.js</code> file:</p>
  <pre><code>let mix = require('laravel-mix');
  
  mix.sass('src/scss/app.scss', 'dist/css/')
    .js('src/js/app.js', 'dist/js/').react()
    .setPublicPath('public');
  
  </code></pre>
  <p>My <code>package.json</code> has just the default script:</p>
  <pre><code>&quot;scripts&quot;: {
      &quot;test&quot;: &quot;echo \&quot;Error: no test specified\&quot; &amp;&amp; exit 1&quot;
  },
  </code></pre>