FileWatch 👀

Automatically run your commands each time you save a file.

Because TDD with mix test.watch is awesome🎉

Usage

Prerequisites

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, after both of above don't forget to do
$ asdf reshim

Get config template

config template, .fwatch.exs, will be generated under CWD. configuration details are described in it.

$ fwatch --config-template

Start watch

$ fwatch

Acknowledgment

FileWatch uses or refs the following OSS and so on,


Copyright © 2022 Ryota Kinukawa