aspnetcore/samples/dotnet-watch/WatchJavascriptFiles
Nate McMaster d1d656d5b8 Add samples and update READMEs (#275) 2017-03-15 09:29:05 -07:00
..
wwwroot Add samples and update READMEs (#275) 2017-03-15 09:29:05 -07:00
Program.cs Add samples and update READMEs (#275) 2017-03-15 09:29:05 -07:00
README.md Add samples and update READMEs (#275) 2017-03-15 09:29:05 -07:00
WatchJavascriptFiles.csproj Add samples and update READMEs (#275) 2017-03-15 09:29:05 -07:00

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.