modified webpack browsersync config to work with local wp_dev docker setup

This commit is contained in:
Adam Piontek 2021-07-02 10:44:02 -04:00
parent 7175755924
commit 61e1122749

View file

@ -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,
} }
) )