Reputation: 1203
I am developing a asp.net core web application in visual studio 2015 update 3.
Every time i have to check for the update in browser i have to either F5 the app which takes time or if i run "start without debugging" i get build error of unable to access "aspnet core identity dll" that is used by some process.
In asp.net mvc app i could just build app and then check in browser without having to F5 or Ctrl F5 which takes time.
Is there any way i could just make changes in code then just build app and check in browser rather than to run in debug mode ?
Upvotes: 9
Views: 5563
Reputation: 2369
Microsoft created a "watch" tool that you can add to your project.json
which enables you to start the backend code in "watch mode"...
Microsoft.DotNet.Watcher.Tools
to the tools
section of the project.json
file.dotnet restore
.dotnet watch run
Then for your frontend code you can do as suggested by Michel Amorosa
Upvotes: 2
Reputation: 495
You can use Gulp to configure automatic change, someone explained it here : View code changes without restarting the server
Upvotes: 1