Blazor live reload (quickstart #notetoself)

Starting point is Rick Strahl’s github:

  • Add Westwind.AspNetCore.LiveReload
  • Add services.AddLiveReload(); (in startup.cs)
  • Add app.UseLiveReload(); (in startup.cs)
  • Run the app from console: dotnet watch run .
  • Open localhost:5050 (or what everport you have defined)

Voila, you have live reload #notetoself

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s