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(
|
||||
new BrowserSyncPlugin(
|
||||
{
|
||||
proxy: 'https://example.dev',
|
||||
proxy: 'http://127.0.0.1:9764',
|
||||
files: [
|
||||
'**/*.php',
|
||||
'**/*.scss'
|
||||
],
|
||||
port: 3000,
|
||||
port: 9765,
|
||||
notify: false,
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue