Go to file
Victor Hurdugaci c769d8dee9 Fix null ref exception when referencing csproj 2016-07-15 10:05:30 -07:00
src Fix null ref exception when referencing csproj 2016-07-15 10:05:30 -07:00
test One build to rule them all 2016-07-06 22:09:57 -07:00
tools
.gitattributes
.gitignore
.travis.yml
CONTRIBUTING.md
LICENSE.txt
Microsoft.DotNet.Watcher.Tools.sln
NuGet.config Updating to release. 2016-06-14 16:22:14 -07:00
NuGetPackageVerifier.json
README.md
appveyor.yml
build.cmd
build.ps1 Updating to release. 2016-06-14 16:22:14 -07:00
build.sh Updating to release. 2016-06-14 16:22:14 -07:00
global.json
makefile.shade Updating to dev versions 2016-06-16 10:17:46 -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 [dotnet arguments]

Add watch after dotnet in the command that you want to run:

What you want to run Dotnet watch command
dotnet run dotnet watch run
dotnet run --arg1 value1 dotnet watch run --arg1 value
dotnet run --framework net451 -- --arg1 value1 dotnet watch run --framework net451 -- --arg1 value1
dotnet test dotnet watch test

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.