Looking to get the following setup going:
I'm working on a Blazor app, and with the official css isolation bundler. I'm using Less though, and installed a Less transformer which creates the required css on build.
However, running my app via dotnet watch run
, it often ends up in an endless loop now.
The reason for this is probably that dotnet watch run
sees a change in the *.razor.css
files, rebuilds, and the cycle just repeats on and on.
So here's my question:
How can I configure my csproj (new Net Standard format) to exclude **\*.razor.css
from the watch process? It would also be fine it it just disappears from my VS solution as a whole.