title: Laravel mix hot reload and domain name
body: <p>I use Laravel Homestead for my development environment, so my website is accessible on <a href="http://test.app" rel="nofollow noreferrer">http://test.app</a></p>
  
  <p>Now I tried to configure laravel mix to use it with VUEJS. For this, I include a JS file in one of my templates:</p>
  
  <pre><code>&lt;script src="{{ url(mix('js/main.js'))}}"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>The result of this is </p>
  
  <pre><code>&lt;script src="//localhost:8080/js/main.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>It seems so, that the localhost:8080 is hardcoded in vendor/laravel/framework/src/Illuminate/Foundation/helper.php (see <a href="https://github.com/laravel/framework/blob/e35a60f7f3ef1d75754522771f13762b3058f1b0/src/Illuminate/Foundation/helpers.php#L560" rel="nofollow noreferrer">https://github.com/laravel/framework/blob/e35a60f7f3ef1d75754522771f13762b3058f1b0/src/Illuminate/Foundation/helpers.php#L560</a>)</p>
  
  <p>How to fix this or how I done something wrong?</p>