How to use Watch / Hot Reloading in Aurelia using Webpack in a Visual Studio project?

I have an Aurelia application based on Webpack TypeScript Skeleton .

My Aurelia application is located inside the .NET application, inside the auxiliary controller, which displays the main layout template in which I include my Aurelia goodness (body tag and scripts). I want to use the watch / hot reloading features for Webpack, but I do not use the standard index.html approach.

What are my options here? Is there a way in which I can proxy an observer in my running application?

+5
source share
1 answer

If you are using the .NET Core and not the full .NET platform, you can take a look at the .NET Core JavaScript Services . They integrate WebPack into the ASP.NET pipeline. However, the provided samples do not include Aurelia, but I made a sample based on the mentioned skeleton that works with JavaScript services here .

+3
source

All Articles