V
V
Vitaly Rybchenko2018-04-21 07:23:25
visual studio
Vitaly Rybchenko, 2018-04-21 07:23:25

How to make Visual Studio 2017 keep in touch with the browser (control js/css changes)?

Hello!
Previously, when working in VS, I edited css files right in the studio and the changes were immediately displayed in the browser.
Not long ago I installed Bundler & Manifier to minimize js and css files, and so far I have only included js.
During the first day of work (on the day I installed it) everything was fine - css were linked as always and changes were displayed without reloading, and js changes (already set references to min instead of the usual ones), as before, became available after crtl+f5.
From the next day, it all stopped working - I see css changes only after ctrl+f5, and js has to manually run the task to minimize.
I suspect that there are some problems with the task manager - file changes are not controlled.
How to treat it? Any ideas?
Previously, I encountered this without installing extensions, as a result, I cured it by reinstalling the studio, but even I don’t want to do it at all ...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
MrDywar Pichugin, 2018-04-21
@Dywar

JS and CSS, as well as HTML / CSHTML changes are picked up immediately.
You don’t need to minify anything in the process of writing / debugging, this is done only when issuing a finished assembly to a working QA server or another.
Turn off minification in DEBUG mode, it is not needed in it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question