Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

m.watch

ivoputzer1MIT0.0.5

m(icro)watch is a handy yet lightweight node.js binary written in es6+ that watches the current working directory for changes and triggers the given command right after!

micro, watch, inotify, kqueue, FSEvents, event-ports, ReadDirectoryChangesW, AHAFS

readme

m.watch

m(icro)watch is a handy yet lightweight node.js binary written in es6+ that watches the current working directory for changes and triggers the given command right after!

global install and usage

    npm -g install m.watch
    watch echo "something changed\!"
    # or namespaced
    m.watch echo "something changed\!"

local install and usage

  npm install -D m.watch
  # package.json
  # ...
  # "test": "m.watch m.test"
  # ...
  npm run test