FileWatch 👀

Automatically run your commands each time you save a file.

Because TDD with mix test.watch is awesome🎉

Usage

Installation

# clone this repo
$ git clone https://github.com/pojiro/file_watch.git
$ cd file_watch
$ mix do escript.build, escript.install

# or
$ mix escript.install github pojiro/file_watch
# or
$ mix escript.install hex file_watch

# if you use asdf, both of above don't forget to do
$ asdf reshim

How to run

$ ./fwatch

How to get config template

$ ./fwatch --config-template

Acknowledgment

FileWatch uses or refs the following OSS and so on,


Copyright © 2022 Ryota Kinukawa