An open API service indexing awesome lists of open source software.

https://github.com/ignatandrei/watch2

Dotnet watch on steroids
https://github.com/ignatandrei/watch2

Last synced: 6 months ago
JSON representation

Dotnet watch on steroids

Awesome Lists containing this project

README

          

![Build Status](https://github.com/ignatandrei/watch2/actions/workflows/compileDeploy.yml/badge.svg)

[![NuGet Version](https://img.shields.io/nuget/v/Watch2.svg?style=flat)](https://www.nuget.org/packages/Watch2)

# watch2

Dotnet watch on steroids

It can
1. clear the console after each run

2. wait before the watch process to start ( good if you have to run both tests and main program)

## NuGet Tool

You can find the `Watch2` NuGet Tool [here](https://www.nuget.org/packages/Watch2).

Install the package using the following command:

```

dotnet tool install --global Watch2

```

## Usage

You can use everywhere you use `dotnet watch` . Just replace `dotnet watch` with `dotnet watch2` .

A watch2.json file is created in the current directory. You can modify it to your needs.

```json
{
"version": 1,
"ClearConsole": true,
"TimeOut": 15000
}
```

- `ClearConsole` : if true, it will clear the console after each run
- `TimeOut` : the time in milliseconds to wait for the process to start.
- `version` : the version of the file. Do not change it.