Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dnx-watch #74

Open
victorhurdugaci opened this issue Sep 28, 2015 · 0 comments
Open

dnx-watch #74

victorhurdugaci opened this issue Sep 28, 2015 · 0 comments

Comments

@victorhurdugaci
Copy link

With dnx --watch, when a file changed, dnx would exit and you had to restart it manually.

dnx-watch is a file watcher for dnx. It replaces dnx --watch and it restarts the process.

How to install

dnu commands install Microsoft.Dnx.Watcher

You might need to pass --fallbacksource https://myget.org/F/aspnetvnext/api/v3/index.json if you don't have that feed in the global NuGet config.

Then the dnx-watch command will become available.

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

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.
  • Known issues and future features: https://github.com/aspnet/dnx-watch/issues

For comments, concerns and discussions, use the thread in the dnx-watch repo

@victorhurdugaci victorhurdugaci added this to the 1.0.0-beta8 milestone Sep 28, 2015
@aspnet aspnet locked and limited conversation to collaborators Sep 28, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant