aspnetcore/samples/dotnet-watch/LaunchAnyCommand
Nate McMaster 261b27b700 Port CLI tools to be dotnet global tools
- Rename package IDs to dotnet-watch, dotnet-user-secrets, and dotnet-sql-cache
- Change packaging layout to support dotnet-install-tool
- Change package metadata to DotnetTool
- Drop support for DotNetCliToolReference (those will continue to be available under previous package ID's)
- Rename project files and folders
2017-12-29 08:42:36 -08:00
..
LaunchAnyCommand.csproj Port CLI tools to be dotnet global tools 2017-12-29 08:42:36 -08:00
README.md Port CLI tools to be dotnet global tools 2017-12-29 08:42:36 -08:00
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 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.