Skip to content

Wait for a file or directory to change or appear, then run a command once.

Notifications You must be signed in to change notification settings

RickWong/wait-run

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Wait for a file or directory to change or appear, then run a command once.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published