Closed budimanfajarf closed 1 year ago
I imagine this change is being requested so that you can continue to pull upstream changes into your project without conflict.
In that case I suggest adding a file called bud.local.js
to the project and adding to gitignore
:
// bud.local.js
export default async (app) => {
app.proxy(`http://example.local`);
};
The local file changes will be applied on top of the base config so local developers can manage their environment but you can still pull upstream.
Some development environments such as Valet use
.test
, but some others such as Localwp use.local
Adding an.env
file to set the proxy to use in bud config can be helpful when working with other developers who using different development environments.