LiveReload 1.0.0

.NET Standard 2.0
There is a newer version of this package available.
See the version list below for details.
NuGet\Install-Package LiveReload -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
dotnet add package LiveReload --version 1.0.0
<PackageReference Include="LiveReload" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LiveReload --version 1.0.0
#r "nuget: LiveReload, 1.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install LiveReload as a Cake Addin
#addin nuget:?package=LiveReload&version=1.0.0

// Install LiveReload as a Cake Tool
#tool nuget:?package=LiveReload&version=1.0.0


Automatically refresh pages when you make changes to cshtml, js, css files.


public void ConfigureServices(IServiceCollection services)

public void Configure(IApplicationBuilder app, IWebHostEnvironment env)


at the bottom of your cshtml file

  <live-reload />


There are several options to make your life easier.

services.AddLiveReload(options => { ... });

  1. Url (default /live-reload): You can change this websocket url to anything you want so as not to conflict with anything you already have.
  2. Paths.Add("..."); (default current root): Add as many paths as you'd like to watch.
  3. Extensions.Add("myext"); (default cshtml, css, js, html): Add more extensions to monitor for changes.
  4. InlineUpdateExtensions.Add("jpg"); (default jpg, png, css, mp4, webm): This will try and update the element on the page without refreshing the whole page.
  5. SaveFormData (default false): Attempt save any forms on your page so that on full refresh the data is restored saving you some work.
  6. InlineUpdatesWhenPossible (default true): Attempt to update elements without refreshing the whole page such as images and css.
  7. ShowStatusOnPage (default false): Shows a little status icon in the upper right that signals whether or not the page is listening for changes.
  8. ReloadOnReconnect (default false): Reload the page when the service is reconnect. This is helpful when you stop debugging and start again.
  9. UseFile (default null): Use a different file for automatic reloading. Not that useful unless you have a custom script.
  10. LiveReloadLocalScriptPath (default /live-reload/live-script.js): Change this if you have an existing script that conflicts with this path.
Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 331 9/8/2020
1.0.0 175 9/6/2020