I’m often working on 2 or 3 sites at a time and the localhost domain makes things tricky for logins and the port number changes dep on how many are running.
Here is my assets/config.json
"publicPath": "/wp-content/themes/wonkfest-2018-s9-test",
"devUrl": "http://wonkfestdev.local",
"proxyUrl": "http://localhost:3000",
When viewing the localhost browser window you can see borwsersync script links have been added and loaded. When i change a file the new css is pushed to the open localhost window.
But viewing wonkfestdev.local in a browser there is no request for the browsersync scripts.
wonkfestdev.local is the alias i’ve set in Mamp pro.
If i set the proxyUrl to http://wonkfestdev.local yarn start
results in an error.