Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Real time CSS updates in Chrome When Editing From Visual Studio

Whenever my colleague makes changes to his .css files in his Visual Studio (2015) chrome automatically detects the change and updates the website styling, it looks very useful.

The same does not happen for me in my Visual Studio (2017) but it did in my initial computer setup (a few win 10 re-installs ago) when I used VS 2015. Is this a disabled feature in 2017, is it anything to do with VS at all? neither of us have any idea why it works in his set up and not mine

I have come across a youtube video of this behaviour: https://www.youtube.com/watch?v=reAw8_FGWpE

like image 309
chrispepper1989 Avatar asked Oct 23 '25 04:10

chrispepper1989


1 Answers

I have found it! This is a feature called

"Enable CSS Auto-Sync"

Its part of the "Browser Link" functionality which is shown here:

https://webtooling.visualstudio.com/project-system/browser-link/#css-auto-sync

To make use of it, you have to enable "Browser Link" and I think it only works in the last tab you opened. You can figure out which tab its linked to by hitting the button as a refresh and seeing which tab refreshes :). (You can also open the Browser Link Dashboard to view active connections)

like image 194
chrispepper1989 Avatar answered Oct 25 '25 18:10

chrispepper1989



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!