Search code examples
asp.netasp.net-corednxbrowser-synckestrel-http-server

Asp.Net Core 1.0 (aka Asp.Net 5) website refresh with any file change?


Looking for a similar functionality like browsersync give for Node applications to auto reload browser with any file change.

Running Asp.Net Core (aka Asp.net 5) with dnx-watch and it restarts the Kestrel web server with any C# code change, but still have to refresh browser manually to see the changes whether its client or server file changes. Using Gulp for build pipeline and thinking of using it to do both dnx-watch and reload browser, but cannot find any example online.

Love to have some help on this.

Thanks


Solution

  • There's no official support for your scenario, sorry!

    However, it's interesting and I would like to have it at least on the backlog. Can you please open a request at https://github.com/aspnet/dotnet-watch ?