I've seen grunt in the MEANJS stack have a file watcher to automatically execute tasks such as moving around files when they change. Is there anything like this in the .NET space, or am I better off installing node.js and adding grunt to my development stack? I'm really looking to move .js/.css/.cshtml from my code repository to my wwwroot when they're edited and saved.
2 Answers
You're better off adding Grunt to your development stack. You can then use the following extensions to add support in Visual Studio: - Task Runner Explorer - NPM and Bower package Intellisense - Grunt Luncher
If you're on Mac you could use CodeKit (not free). But still Grunt is highly recommended for what you're trying to achieve.
You might also want to experience with Web Essentials to watch your CSS/JS
I've seen grunt in the MEANJS stack have a file watcher to automatically execute tasks such as moving around files when they change. Is there anything like this in the .NET space
Yep, FileSystemWatcher
in System.IO
namespace (MSDN)