aspnetcore/samples/dotnet-watch/LaunchAnyCommand
Nate McMaster 1cc289cf1d Update the dotnet-watch samples to 2.0.0
[ci skip]
2017-11-13 08:49:25 -08:00
..
LaunchAnyCommand.csproj Update the dotnet-watch samples to 2.0.0 2017-11-13 08:49:25 -08:00
README.md
package.json
say-hello.js

README.md

Launch any command with dotnet-watch

Prerequisites

  1. Install .NET Core command line. https://dot.net/core
  2. Install NodeJS. https://nodejs.org

Usage

Open a terminal to the directory containing this project.

dotnet restore
dotnet watch msbuild /t:RunMyNpmCommand

Changing the .csproj file, or the say-hello.js file will cause dotnet-watch to re-run the 'RunMyNpmCommand' target in MyApp.csproj.