Jun 24, 2017
0
Level 8
Windows Linux Subsystem and Laravel Mix
Using Mix and browsersync from Windows Linux Subsystem, consider the following browsersync browser setting in webpack.mix.js so it can open chrome
if (mix.inProduction()) {
mix.disableNotifications()
.version();
} else {
mix.browserSync({
proxy: 'your-domain.dev', // Valet
// proxy: 'localhost:8000', // artisan serve
// proxy: 'your-domain.app', // homestead
browser: '/mnt/c/Program\ Files\ \(x86\)/Google/Chrome/Application/chrome.exe' // windows linux subsystem
});
}
and guide at Laravel on Bash on Ubuntu on Windows
Please or to participate in this conversation.