Go to file
moozzyk c248e539f3 Renaming namespaces and fixing tests 2016-04-19 11:26:40 -07:00
src Renaming namespaces and fixing tests 2016-04-19 11:26:40 -07:00
test Renaming namespaces and fixing tests 2016-04-19 11:26:40 -07:00
tools
.gitattributes dnx-watch -> dotnet-watch 2016-02-16 15:33:20 -08:00
.gitignore Use KillTree from Common 2016-03-16 18:02:59 -07:00
.travis.yml Webhooks notification 2016-03-30 15:06:20 -07:00
CONTRIBUTING.md
LICENSE.txt
Microsoft.DotNet.Watcher.Tools.sln Renaming dotnet-watch folders to Microsoft.DotNet.Watcher.Tools 2016-04-19 10:38:59 -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 ASP.NET 5 -> ASP.NET Core 2016-03-14 21:47:24 -07:00
appveyor.yml Fix backslashes in yml config. 2016-03-09 17:44:48 -08:00
build.cmd Return the error code from build.cmd 2016-02-28 10:12:21 -08:00
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

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.