Go to file
Pranav K 0d471b827b Update NetStandard.Library version 2016-06-01 14:31:42 -07:00
src Update NetStandard.Library version 2016-06-01 14:31:42 -07:00
test - Bugfix: Trigger on new project.json file structure 2016-05-26 16:06:03 -07:00
tools
.gitattributes
.gitignore
.travis.yml Fix OSX build on Travis. 2016-05-27 11:24:49 -07:00
CONTRIBUTING.md
LICENSE.txt
Microsoft.DotNet.Watcher.Tools.sln Simplify watcher arguments by passing everything to dotnet 2016-05-24 16:05:43 -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 Simplify watcher arguments by passing everything to dotnet 2016-05-24 16:05:43 -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 Simplify watcher arguments by passing everything to dotnet 2016-05-24 16:05:43 -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.