madskristensen / BrowserReloadOnSave

A Visual Studio extension
Other
27 stars 10 forks source link

Strange reload on save behaviour to js files #15

Open incompletude opened 6 years ago

incompletude commented 6 years ago

Microsoft Visual Studio Community 2017 Version 15.8.8

Hi, I have been trying to use Visual Studio with Browser Reload for a personal project. I have a terminal open with a gulp task to watch and build any changes applied to css and js, and I'm referencing this files in my razor pages. Both files take the same time to transpile (around 200ms).

When applying changes to CSS, everything is smooth. Once I press ctrl+s, the browser syncs perfectly.

Once I apply changes to JS files, the browser reload also works, but no changes are applied. After a few seconds, it detects another change and sends another reload to the browser, this time with the changes applied.

I'm not sure this is a browser reload issue, so I'm looking for some guidance.