aspnetcore/samples/dotnet-watch/WatchJavascriptFiles
…
..
wwwroot
…
Program.cs
…
README.md
…
WatchJavascriptFiles.csproj
…

README.md

Watch JavaScript files with dotnet-watch

Prerequisites

Install .NET Core command line. https://dot.net/core

Usage

Open a terminal to the directory containing this project.

dotnet restore
dotnet watch run

Changing the .csproj file, or *.js file in wwwroot, or any *.cs file will cause dotnet-watch to restart the website.