#time #command-runner #events #ignore #debounce #recursion

app seedo

A command runner triggered by filesystem events

4 releases

0.1.3 Aug 10, 2022
0.1.2 Aug 8, 2022
0.1.1 Aug 8, 2022
0.1.0 Aug 8, 2022

#1603 in Filesystem

Unlicense

10KB
151 lines

seedo

seedo (short for "Monkey See, Monkey Do") is a simple program for recursively watching a directory for file system events and running a command when they occur. It will debounce filesystem events based a configurable time parameter. It respects .gitignore files using the ignore crate.

A basic example to use with cargo check would be

seedo cargo check

This will run cargo check within 50ms of a file system change within the current directory (recursively). It will not trigger cargo check if a file is listed in a .gitignore file.

The current command line options are as follows

$ seedo --help
seedo

USAGE:
    seedo [OPTIONS] <COMMAND> [ARGS]...

ARGS:
    <COMMAND>    Command to run
    <ARGS>...    Args for command

OPTIONS:
    -d, --debounce <DEBOUNCE_MS>    Debounce time in milliseconds [default: 50]
    -h, --help                      Print help information
    -p, --path <PATH>               Paths to watch [default: .]
        --skip-ignore-files         Don't read .gitignore files

Dependencies

~8–17MB
~222K SLoC

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy