/fsw

A tool to run a command when a directory changes.

Primary LanguageRustApache License 2.0Apache-2.0

fsw

Crates.io Crates.io Travis CI

fsw is a tool for recursively watching the current working directory and running a command when its contents change.

It's integrated with Git, so it won't rerun the command if an ignored file changes.

Install

You can find static binaries for Linux and macOS on the Github Releases page.

Alternatively, you can use cargo to install the tool.

cargo install fsw

Usage

fsw <command> [<arg>]...

Changelog

unreleased - YYYY-MM-DD

  • Reduce binary file size (on Linux from ~5.3MB to ~625KB)
  • Switch to Rust 2021 Edition

0.1.1 - 2019-03-26

  • Rework design to not watch ignored directories, improving reliability and resource utilization
  • Reduce debouncing period to 125ms
  • Mark fsw output with "fsw:"
  • Bump notify and transitive dependencies

0.1.0 - 2019-02-26

  • Initial release.