fsw

Crates.iofsw
lib.rsfsw
version0.1.1
sourcesrc
created_at2019-02-27 00:42:31.191537
updated_at2019-03-27 04:30:50.258697
descriptionA tool to watch a directory and run a command when its contents change.
homepagehttps://github.com/longshorej/fsw
repositoryhttps://github.com/longshorej/fsw
max_upload_size
id117475
size22,975
Jason Longshore (longshorej)

documentation

README

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.

Why? Well, I quite like the workflow that sbt's tilde (~) operator provides, and I wanted a reliable mechanism to do the same thing with other tools.

Install

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

Alternatively, you can use cargo to install the tool on any platform that Rust supports.

cargo install fsw

Usage

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

Changelog

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.
Commit count: 15

cargo fmt