Watch file changes. Run make when the current directory changes, on OS X.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
wtch.xcodeproj
wtch
.gitignore
LICENSE
README.md

README.md

wtch

wtch runs make whenever it detects a change under the current directory.

Installation

To build wtch, run xcodebuild. The binary will be build/Release/wtch.

Usage

To run make when a change happens anywhere under the current directory (.):

wtch

To customize the command or to watch a specific set of paths:

echo command | wtch path1 path2 ...

See Also

  • https://github.com/emcrisostomo/fswatch

    wtch differs from fswatch in that it stops listening to events while make is run.

    This means that any files generated by make will trigger fswatch, whereas they will not trigger wtch.

    On the other hand, if you modify a file yourself while a make run is in progress, wtch will not run make again, even though you rightly expected it to.

License

wtch is available under the ISC license. See the LICENSE file for more information.