question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

BrowserSync is watching, but doesn't track changes to my CSS file

See original GitHub issue

Hi,

I know its here for issues and not for Q&A, but I don’t know where else I have to ask a question related to browser sync. Apologies for that, but hopefully someone can assist me

My command line skills are 0.something, but I managed to get everything installed and up & running and have the following output, because I have a localhost with a sub directory ‘artisan’ (my project)

unknown-00-23-6c-99-68-e4:~ user$ browser-sync start --proxy="localhost:8888" --files="artisan/css/*.css"
[BS] Proxying: http://localhost:8888
[BS] Now you can access your site through the following addresses:
[BS] Local URL: http://localhost:3000
[BS] External URL: http://192.168.1.64:3000
[BS] Watching files...

Like I said it works to some extend… I can open the Artisan website in the browser with the new local and/or external URL and see the ‘connected to browsersync’ notification, but changes I make and save in the css file, doesn’t automatically refresh/change the page that’s open and neither do the changes gets added to the command line.

Thus… I’m very confused and hopefully someone can see or can guess where I go wrong. Thanks!

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:16 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
gabrielgiordancommented, Jun 29, 2015

I have experienced a similar issue, and the solution was too simple. If you are running on windows, be sure to run the cmd as an administrator. After I did this, the sync feature ran fine.

2reactions
shakyShanecommented, Oct 7, 2014

You’re not wasting my time - I’m happy to help if I can 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

browsersync does not reload when there are changes in .css
So far, it detects all types of .html .php .js file, but when compiling from .scss to .css it does not do anything....
Read more >
Browser Sync not refreshing after injecting css - Roots Discourse
The problem I'm having is that browser sync is not refreshing once the new css ... sync has injected the new main.css file...
Read more >
BrowserSync not refreshing - Laracasts
Upon running gulp watch the connection gets initialised so BrowserSync is installed and working. However it doesn't seem to pick up on any...
Read more >
Issues with stencil start and browser sync
I am trying to modify some css, js and html file locally using stencil. Suddenly, when I modify scss file, browser does not...
Read more >
Browsersync options
Browsersync can watch your files as you work. Changes you make will either be injected into the page (CSS & images) or will...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found