Commit Graph

10 Commits

Author SHA1 Message Date
Nate McMaster 13219fafa9 Remove code that moved into CommandLineUtils 2017-03-22 10:19:19 -07:00
Nate McMaster 1bfa9c4b4b
Make it possible to detect that a process is running inside dotnet-watch by setting 'DOTNET_WATCH=1' 2017-03-13 13:00:22 -07:00
Nate McMaster e481df3d49 Add better errors, fix help output text, and add 'dotnet watch --list' to help us diagnose issues
Fixes #252 - help output shown twice in dotnet-watch
Fixes #250 - add dotnet-watch --list. Prints a list of all files discovered
Fixes #249 - better error message when GenerateWatchList fails
2017-01-17 11:43:44 -08:00
Nate McMaster f277816556
Update packaging for tools
Move targets files in to 'toolassets'. The 'tools' folder has conventions in NuGet that we don't want applied to these packages.

Downgrade to Microsoft.NETCore.App 1.0.0

Add 'prefercliruntime' package.
2016-12-07 09:37:34 -08:00
Nate McMaster 17da5242e0
Create console reporter API
The reporter API breaks down complex formatter in to composable compontents. Adds 'ReporterBuilder' and 'FormatterBuilder' as syntax sugar for creating reporters with complex formatting rules

Changes in dotnet-watch
 - Remove dependency on Microsoft.Extensions.Logging and instead use IReporter for console output
 - Only use color output when stdout and stderr are not being redirected
 - Make the default output less noisy

Changes in dotnet-user-secrets
 - Remove dependency on Microsoft.Extensions.Logging to use IReporter

Changes in dotnet-sql-cache
 - Remove dependency on Microsoft.Extensions.Logging to use IReporter
 - Add --verbose option
2016-11-30 14:51:08 -08:00
Nate McMaster 40d4670463
Abstract the console 2016-11-21 11:08:56 -08:00
Nate McMaster b6b4523993
Remove dependency on Microsoft.DotNet.Cli.Utils 2016-11-17 13:37:58 -08:00
Nate McMaster 4698985846 Port dotnet-watch to support MSBuild 2016-11-01 18:39:51 -07:00
Nate McMaster 721cbe3435 Refactor dotnet-watch to isolate project.json dependency 2016-10-17 12:06:19 -07:00
Nate McMaster 61dc862e4d Merge Microsoft.DotNet.Watcher{.Core} into {.Tools}
History: in the days of DNX, there was a plan to share code between dnx-watch and Visual Studio tooling to watch the system. We split the package into two pieces with this intention. Since then, dotnet-cli has replaced DNX and MSBuild will replace project.json. The shared watch code isn't necessary, nor is it an API we want to support.
2016-09-26 12:04:12 -07:00