Asp.Net Core 1.0 (aka Asp.Net 5) updates the site when any file changes?

Look for similar functionality, such as browsersync, for Node applications to automatically restart the browser whenever a file changes.

Starting Asp.Net Core (aka Asp.net 5) using dnx-watch and restarting the Kestrel web server with any C # code change, but you still have to update the browser manually to see the changes if its client or server file changes, Using Gulp to build a pipeline and thinking about using it to view both dnx-watch and reboot, but can't find any example on the Internet.

Love to help you with this.

thanks

+7
asp.net-core browser-sync dnx
source share
2 answers

There is no official support for your script, sorry!

However, it is interesting, and I would like to have it at least behind. Could you open the request https://github.com/aspnet/dotnet-watch ?

+3
source share

1) You can just use gulp and browsersync . It works well and fast, but a little complicated, because first you need to run IIS-Express and use browsersync in proxymode .

2). The best solution is the Visual Studio Browser Reload on Save extension, made by Mads Kristensen, a member of the Asp.Net team.

+1
source share

All Articles