Configure endpoint for /bud/hot

I’m using Laravel Valet for local development. HMR is not working because /bud/hot is getting called from the wrong URL.

Console error: GET http://testwp.test/bud/hot 404 (Not Found)

It should work if the request were sent to the dev server.

Here is my config:

  bud
    .entry(`editor`, `@src/index.js`)
    .setUrl(`http://localhost:3000`)
    .setProxyUrl(`http://testwp.test`);
};

Is there a way to solve this?

Okay, ignore this.
The solution is to use the dev URL (localhost:3000) in the browser.

1 Like