AspNetCore.SassCompiler
AspNetCore.SassCompiler copied to clipboard
Ability to watch multiple projects
When I first tried using this package I immediately ran into problems with the watch feature. In our solution we split modules between multiple projects where the startup project has almost no code to speak of, only the startup code. After testing it for some time and looking through this repository I came to the conclusion that the current solution is only adding folders from the startup directory too the watch list, which limits it's usability. Now I think this should be addressed some how, and if there is some way that this can be achieved that I clearly missed please let me know.
I decided to try create a proof of concept solution there for I forked and got it working https://github.com/Mr-Badger/AspNetCore.SassCompiler/tree/target-multiple-projects This solution is rather naïve and needs more work, there for I didn't create a PR.
Now there's a few things to consider, such as:
- Possibly find a better way to determine the root folder of the project
- Should only projects that include this nuget package be added to the watch
- Add file/folder excludes
- How would this work/perform in large projects