Skip to content
Browse files

Temporarily remove.

Once Laravel is updated to reflect the change, we can add this back in.
  • Loading branch information...
JeffreyWay committed Jan 16, 2018
1 parent fe806fd commit bd868591f612339e1abaa8785de6de60c71c85ee
Showing with 0 additions and 15 deletions.
  1. +0 −15 docs/
@@ -42,21 +42,6 @@ However, it can be a burden to manually change this URL for production deploys.

With this adjustment, Laravel will do the work for you. If you run 'npm run hot' to enable hot reloading, the function will set the necessary `http://localhost:8080` base url. If, instead, you use `npm run dev` or `npm run production`, it'll use your domain as the base.

### Changing the host

If you wish to hot reload over a local network, or if port `8080` is currently in use, you can set the 'Hot Module Replacement' host and port using the following mix option:

hmrOptions: {
host: '',
port: '3030'

Important: Currently, support for the `{{ mix('js/bundle.js') }}` blade helper is pending PR.

### Usage on HTTPS

If you develop your app on an HTTPS connection, your hot reloading scripts and styles must also be served via HTTPS. To achieve this, add the `--https` flag to the `hot` option command within `package.json`:

1 comment on commit bd86859


This comment has been minimized.

Copy link

commented on bd86859 Mar 3, 2018

Just a note that this was merged in Laravel 5.5 via this PR laravel/framework#22826.

Please sign in to comment.
You can’t perform that action at this time.