Go to file
Doug Bunting dc9feade5a Disable `Microsoft.DotNet.Watcher.Tools.FunctionalTests.NoDepsAppTests.RestartProcessThatTerminatesAfterFileChange`
- test is not reliable (95% success rate)
- should be restored as part of #98
2016-05-23 11:53:35 -07:00
src Fix build warnings 2016-05-02 11:27:09 -07:00
test Disable `Microsoft.DotNet.Watcher.Tools.FunctionalTests.NoDepsAppTests.RestartProcessThatTerminatesAfterFileChange` 2016-05-23 11:53:35 -07:00
tools
.gitattributes
.gitignore
.travis.yml
CONTRIBUTING.md
LICENSE.txt
Microsoft.DotNet.Watcher.Tools.sln Fix command line parsing around the -- separator 2016-04-22 14:44:52 -07:00
NuGet.config Updating to release. 2016-04-06 09:45:59 -07:00
NuGetPackageVerifier.json Renaming namespaces and fixing tests 2016-04-19 11:26:40 -07:00
README.md Update the readme file with the new name 2016-04-26 10:57:44 -07:00
appveyor.yml
build.cmd
build.ps1 Updating to release. 2016-04-06 09:45:59 -07:00
build.sh Updating to release. 2016-04-06 09:45:59 -07:00
global.json
makefile.shade Update to preview1 version 2016-05-11 08:41:57 -07:00

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 Microsoft.DotNet.Watcher.Tools to the tools section of your project.json file:

{
...
  "tools": {
    "Microsoft.DotNet.Watcher.Tools": {
      "version": "1.0.0-*",
      "imports": "portable-net451+win8"
    }
  }
...
}

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.