Blazor live reload (quickstart #notetoself)

Starting point is Rick Strahl’s github: https://github.com/RickStrahl/Westwind.AspnetCore.LiveReload

  • 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:

WordPress.com Logo

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

Facebook photo

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

Connecting to %s