Go to file
Victor Hurdugaci bc382be632 Fix the tests that hang 2016-03-10 11:50:18 -08:00
src Fix the tests that hang 2016-03-10 11:50:18 -08:00
test Fix the tests that hang 2016-03-10 11:50:18 -08:00
tools
.gitattributes
.gitignore
.travis.yml Fix backslashes in yml config. 2016-03-09 17:44:48 -08:00
CONTRIBUTING.md
LICENSE.txt
NuGet.config
NuGetPackageVerifier.json
README.md Update the documentation to "dotnet-watch" 2016-03-10 11:47:43 -08:00
appveyor.yml Fix backslashes in yml config. 2016-03-09 17:44:48 -08:00
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 5. You can find samples, documentation and getting started instructions for ASP.NET 5 at the Home repo.