Skip to content

Instantly share code, notes, and snippets.

@carloshhr
Created January 20, 2018 20:21
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carloshhr/812a97346205d98ae5f8e7ddc12f8c97 to your computer and use it in GitHub Desktop.
Save carloshhr/812a97346205d98ae5f8e7ddc12f8c97 to your computer and use it in GitHub Desktop.
Browser Sync configuration on Laravel Mix 5.5
mix.js('resources/assets/js/app.js', 'public/js')
.sass('resources/assets/sass/app.scss', 'public/css')
.browserSync({
proxy: {
target: "www.mygreatsitewillmakemerich.local"
},
files: [
'app/**/*',
'public/**/*',
'resources/views/**/*',
'resources/lang/**/*',
'routes/**/*'
]
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment