Go to file
Pavel Krymets 086f87a356 React to abstraction changes 2015-12-03 14:18:49 -08:00
src React to abstraction changes 2015-12-03 14:18:49 -08:00
test/Microsoft.Dnx.Watcher.Tests Strong name everything. 2015-11-02 14:40:58 -08:00
tools Strong name everything. 2015-11-02 14:40:58 -08:00
.gitattributes
.gitignore
.travis.yml Correct `.travis.yml` typo 2015-11-17 15:40:36 -08:00
CONTRIBUTING.md
LICENSE.txt
NuGet.config Updating to release NuGet.config. 2015-10-28 12:43:11 -07:00
NuGetPackageVerifier.json
README.md Moved content from Announcement to README.md 2015-11-13 14:03:35 -08:00
appveyor.yml
build.cmd
build.sh
dnx-watch.sln
global.json
makefile.shade

README.md

dnx-watch

dnx-watch is a file watcher for dnx that restarts the specified application when changes in the source code are detected. Its' purpose is to replace dnx --watch.

How To Install

From a console window run the following command dnu commands install Microsoft.Dnx.Watcher Then the dnx-watch command will become available.

To install the latest unstable release add the following parameter to the command --fallbacksource https://myget.org/F/aspnetvnext/api/v3/index.json

How To Use

dnx-watch <arguments>

Example:

  • To run the command kestrel in the current folder: dnx-watch kestrel
  • To run the command kestrel in a different folder: dnx-watch --project C:\myproject --dnx-args kestrel
  • To run the command kestrel in a different folder with extra arguments: dnx-watch --project C:\myproject --dnx-args kestrel arg1 arg2

AppVeyor: AppVeyor

Travis: Travis

Remarks:

  • Everything after --dnx-args is passed to dnx and ignored by the watcher.
  • The watcher always passes --project to dnx. Do not pass it as a --dnx-args argument.

This project is part of ASP.NET 5. You can find samples, documentation and getting started instructions for ASP.NET 5 at the Home repo.