Skip to content
This repository was archived by the owner on Nov 20, 2018. It is now read-only.

aspnet/DotNetTools

Repository files navigation

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.

About

[Archived] Various .NET command line tools. Project moved to https://github.com/aspnet/AspNetCore

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 29