29

GitHub - Enapiuz/multiwatch: Simple task runner on directory changes

 5 years ago
source link: https://github.com/Enapiuz/multiwatch
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

multiwatch

Build Status Go Report Card codecov Maintainability License: GPL v3

Simple task runner on directory changes.

Installation

Manual

  1. Download multiwatch
    • git clone https://github.com/Enapiuz/multiwatch.git
  2. Install via go
    • cd multiwatch && go install

Distros

macOS

brew install Enapiuz/tap/multiwatch

Other systems

Work in progress

Config

# debounce time for file change events in mulliseconds
delay=500

[[watch]]
name = "linter"
paths = ["src"]
commands = ["npm run lint"]

[[watch]]
name = "tests"
paths = ["src", "tests"]
commands = ["npm run test"]

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK