modified webpack browsersync config to work with local wp_dev docker setup
This commit is contained in:
parent
7175755924
commit
61e1122749
1 changed files with 2 additions and 2 deletions
|
@ -133,12 +133,12 @@ if (process.env.SERVER) {
|
||||||
config.plugins.push(
|
config.plugins.push(
|
||||||
new BrowserSyncPlugin(
|
new BrowserSyncPlugin(
|
||||||
{
|
{
|
||||||
proxy: 'https://example.dev',
|
proxy: 'http://127.0.0.1:9764',
|
||||||
files: [
|
files: [
|
||||||
'**/*.php',
|
'**/*.php',
|
||||||
'**/*.scss'
|
'**/*.scss'
|
||||||
],
|
],
|
||||||
port: 3000,
|
port: 9765,
|
||||||
notify: false,
|
notify: false,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue