Everything works fine on local url http://localhost:3000 When I do change some sass file, styles are automatically injected without browser page refresh (like one would expect). The issue is that on external url of BS session (no matter what browser, device or OS I have tried) simply BS does not inject styles. BS looks like its working screens are synced, you can see box saying building as well only styles are not refreshed. Styles though appear after manual page refresh. Any idea where could be a problem? Have I missed something here in the community?
Just humble question: Not sure if it is and issue but once I start yarn run start command, style changes are not being updated on devUrl from config.json. They are reflected on devUrl only after running build command. Is that a way it is meant to work?
I have basically new instance of Sage 9 with Bootstrap installed on my local environment following Sage 9 book instructions all the way. Seems like it should work but it does not. Have not tested js files…
I have this same issue. One of the few things that’s keeping me from switching from Sage 8->9. Style injection works fine on localhost:3000, doesn’t work on 192.168.1.4:3000, even though BrowserSync is running and refreshing for PHP changes.
@knowler sry for later feedback, thank you for looking at it. At first I tried to change only domain from .local -> .test which did not work out. Then I followed your suggestion to create config-local.json file and problem got solved. Only one question, is there any way how one can set, that in browser will be opened proxyUrl from config-local.json (http://192.168.x.x:3000) instead of (localhost:3000) from original config.json file? Tried to change proxyUrl value in original config.json file but with no joy…
Thank you!