Go to file
Pranav K f75ce04c4c Reacting to CoreCLR package changes 2016-03-19 12:41:52 -07:00
src Update package name 2016-03-17 16:36:27 -07:00
test Reacting to CoreCLR package changes 2016-03-19 12:41:52 -07:00
tools
.gitattributes
.gitignore Use KillTree from Common 2016-03-16 18:02:59 -07:00
.travis.yml
CONTRIBUTING.md
LICENSE.txt
NuGet.config
NuGetPackageVerifier.json
README.md ASP.NET 5 -> ASP.NET Core 2016-03-14 21:47:24 -07:00
appveyor.yml
build.cmd
build.ps1
build.sh
dotnet-watch.sln
global.json
makefile.shade

README.md

dotnet-watch

dotnet-watch is a file watcher for dotnet that restarts the specified application when changes in the source code are detected.

How To Install

Add dotnet-watch to the tools section of your project.json file:

{
...
  "tools": {
    "dotnet-watch": "1.0.0-*"
  }
...
}

How To Use

dotnet watch <watcher args> -- <app args>

  • dotnet watch (runs the application without arguments)
  • dotnet watch foo bar (runs the application with the arguments foo bar)
  • dotnet watch --exit-on-change -- foo bar (runs the application with the arguments foo bar. In addition, it passes --exit-on-change to the watcher).
  • dotnet watch --command test -- -parallel none (runs dotnet test with the arguments -parallel none)

AppVeyor: AppVeyor

Travis: Travis

This project is part of ASP.NET Core. You can find samples, documentation and getting started instructions for ASP.NET Core at the Home repo.