Browser-sync: No Auto-Reload-Refresh after files changes (local/static or on web dev server project)

Created on 9 Dec 2017  路  3Comments  路  Source: BrowserSync/browser-sync

Issue details

For several days now, and i don't know why, when I start browser-sync, it isn't auto 'correctly' reload on all viewport i have opened : i have to use CTRL +F5 to apply my change on my all devices to see the changes.

I actually use the UI Interface and the commande 'Reload ALL'

Steps to reproduce/test case

I start my project like this way :

browser-sync start -s -f="css/.css, js/.js,*.html" -b"=Vivaldi" for statics files (testing or anything like that)

OR
browser-sync start -p ="my url to watch" -f="css/.css,js/.js,*.html" -b"=Vivaldi"

In Addition:

  • i use also the path files f="assets/css/.css, assets/js/.js" and more when my project folder are a lil' bit more constructed
  • i use sass and prepross Software to compil my scss in css folder but i don't understand why this way could be the central point of my beug.

_Please provide necessary steps for reproduction of this issue, or better the
reduced test case (without any external dependencies)_.

Please specify which version of Browsersync, node and npm you're running

  • Browsersync [ 2.18.13 ]
  • Node [ 6.10.0 ]
  • Npm [ 3.10.10 ]

Affected platforms

  • [ ] linux
  • [X] windows
  • [ ] OS X
  • [ ] freebsd
  • [ ] solaris
  • [ ] other _(please specify which)_

Browsersync use-case

  • [ ] API
  • [ ] Gulp
  • [ ] Grunt
  • [ ] CLI

I use brower-sync in a stand alone tools (whitout gulp or equivalence).

If CLI, please paste the entire command below

{cli command here}

for all other use-cases, (gulp, grunt etc), please show us exactly how you're using Browsersync

{Browsersync init code here}

All 3 comments

Is there any whitespace before your doctype? Could be same as #1299

@KeironLowe92 Thanks! That solved my problem.

I worked on Professionnal project : i'm the only one who use this workflow and i don't have the 'hand' on the doctype files because isn't my task.

Also i have the "same" beug on personnal local/server project... i gonna try to fix this with your tips !

Was this page helpful?
0 / 5 - 0 ratings

Related issues

danielverejan picture danielverejan  路  3Comments

demisx picture demisx  路  4Comments

ngryman picture ngryman  路  3Comments

tonyoconnell picture tonyoconnell  路  3Comments

hgl picture hgl  路  3Comments