Skip to content

Because TDD with mix test.watch is awesome🎉

License

Notifications You must be signed in to change notification settings

pojiro/file_watch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FileWatch 👀

Automatically run your commands each time you save a file.

Because TDD with mix test.watch is awesome🎉

Usage

Prerequisites

Installation

Install escript from hex or github,
(if you use asdf, after following. Don't forget to do asdf reshim elixir)

mix escript.install hex file_watch # Or mix escript.install github pojiro/file_watch

Or install from source build,

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

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,

Other Info

I didn't know about fswatch until I developed FileWatch. If FileWatch doesn't fit your needs, please check out fswatch.


Copyright © 2022 Ryota Kinukawa

About

Because TDD with mix test.watch is awesome🎉

Resources

License

Stars

Watchers

Forks

Packages

No packages published