mrchief / duster.net

Auto compile your dust templates inside Visual Studio
MIT License
0 stars 0 forks source link

Won't work with visual studio bundles #3

Open esolan opened 8 years ago

esolan commented 8 years ago

Visual Studio has bundling capabilities with extensions such as Web Essentials and Bundler & Minifier.

The auto-compilation from your tool works great, but if the output JS files are included in any bundles, those bundles don't auto-update.

Version: VS Community Edition 2015 Bundler: Bundler & Minifier by Mads Kristensen

mrchief commented 8 years ago

The output JS is written to a file so that will update. Do you mean scenarios where the output won't get auto minified? If so, I'm not sure if there is much that can be done here since we're talking about a 3rd party extension/tool.

I guess I can reach out and find if Bundler & Minifier exposes any events that can be triggered, but I'd rather not put that in the core extension.

If you have any ideas, feel free to suggest.

esolan commented 8 years ago

I dropped a line on the Bundler & Minifier project with no response (https://github.com/madskristensen/BundlerMinifier/issues/169), but effectively yes you are right, the JS file gets created but the subsequent minification doesn't trigger.

You're probably right it wouldn't be smart to put any changes in on your end