I’d suggest just using Browsersync in the meantime if you’re unable to configure Lando.
- install browsersync:
yarn add browser-sync browser-sync-webpack-plugin --dev - modify
bud.config.js:
# @ bud.config.js
const bs = require('browser-sync-webpack-plugin')
...
.use(new bs({proxy: 'http://example.test'}))
full config example
const bs = require('browser-sync-webpack-plugin')
module.exports = async (app) => {
app
.entry({
app: ['@scripts/app', '@styles/app'],
editor: ['@scripts/editor', '@styles/editor'],
})
.assets('images')
.watch('resources/views/**/*', 'app/**/*')
.use(new bs({proxy: 'http://example.test'}))
};