wait-run

1.2.0 • Public • Published

wait-run

version license installs

Wait for a file or directory to change or appear, then run a command once. The watched file or directory does not have to exist yet.

Heavily based on the wonderful watch-run by @queckezz.

Simply need to wait for a file/directory? Use just-wait by @Download which is a fork of wait-run. It allows you to chain && commands.

Installation

npm install -g wait-run

Usage

wait-run --pattern '*.*' -- say hello    # waits for any change in cwd then runs once. 

License

BSD 3-Clause license. Copyright © 2016, Rick Wong. All rights reserved.

Package Sidebar

Install

npm i wait-run

Weekly Downloads

2

Version

1.2.0

License

BSD-3-Clause

Last publish

Collaborators

  • rickwong