[Archived] Various .NET command line tools. Project moved to https://github.com/aspnet/AspNetCore
Перейти к файлу
jacalvar a86db45a19 Update Json.NET to 9.0.1 2016-06-15 15:25:29 -07:00
src Remove unncessary imports 2016-06-08 13:02:26 -07:00
test Update Json.NET to 9.0.1 2016-06-15 15:25:29 -07:00
tools Strong name everything. 2015-11-02 14:40:58 -08:00
.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 Fix OSX build on Travis. 2016-05-27 11:24:49 -07:00
CONTRIBUTING.md Create CONTRIBUTING.md 2015-09-17 08:39:00 -07:00
LICENSE.txt Update LICENSE.txt 2015-09-17 08:38:38 -07:00
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-06-14 16:22:14 -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 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-06-14 16:22:14 -07:00
build.sh Updating to release. 2016-06-14 16:22:14 -07:00
global.json First version of dnx watch 2015-09-27 13:59:07 -07:00
makefile.shade Update to preview2 2016-06-08 16:52:27 -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.