docker-browser-sync icon indicating copy to clipboard operation
docker-browser-sync copied to clipboard

3001 Port shows BS UI, but 3000 does not load the site or changes..

Open brandontamm opened this issue 6 years ago • 1 comments

I am trying to start development on a Wordpress theme. I normally use bedrock and sage on a dockerized version with the following services:

  • db
  • fpm
  • Nginx

I cannot for the life of me figure out how to correctly configure this environment to use Browsersync..

DONE Compiled successfully in 1958ms 12:55:39 AM

[BS] [HTML Injector] Running... [Browsersync] Proxying: http://begreatsports.local [Browsersync] Access URLs:

   Local: http://localhost:3000
External: http://fpm:3000

      UI: http://localhost:3001

UI External: http://fpm:3001

[Browsersync] Watching files... [Browsersync] Couldn't open browser (if you are using BrowserSync in a headless environment, you might want to set the open option to false)

Any ideas?

brandontamm avatar Feb 21 '19 01:02 brandontamm

on a side note, I also tried to use your docker container with absolutely no luck which is why I attempted to use Browsersync directly in the fpm container. I am also open to using your container in the docker-compose stack if I had an idea how to implement it in this use case. I've just tried numerous times and cannot figure it out. I've wasted several days in attempts.

brandontamm avatar Feb 21 '19 01:02 brandontamm