BrowserSync / browser-sync

Keep multiple browsers & devices in sync when building websites. https://browsersync.io
https://discord.gg/2d2xUThp
Apache License 2.0
12.17k stars 755 forks source link

Feature Request: Reload live/remote pages #402

Open komplexb opened 9 years ago

komplexb commented 9 years ago

Description: Tell BrowserSync to watch a specified directory and reload a remote URL when files change.

Usecase: When developing for Shopify, file changes are watched and uploaded to the remote server, the developer then has to refresh that URL to see his changes. Having recently started using BrowserSync, the automatic refresh is sorely missed. So on a whim i tried browser-sync start --no-open --host "storename.dev" --proxy "storename.myshopify.com:8080" --files "storefiles/**/*.liquid". Of course that didn't work.

Is that something you can look into?

karneaud commented 9 years ago

I too would like to know if this could be done....

ghost commented 8 years ago

Sadly, I need a fix too

apazureck commented 7 years ago

If it helps someone to get started on that: Here is a template using browser sync

It is for vscode, but it should work on any editor. It works for me using chrome to get live updates, Firefox has some issues with that (not sure why), Edge / IE not tested.

It is for Typescript, but can easily be adjusted to (gulpfile.js)