hunter

Watches for file changes to specific directories and re-runs a command
https://bowlerhat.dev/

To install, run:

haxelib install hunter 1.0.0 

See using Haxelib in Haxelib documentation for more information.

README.md

Hunter file watcher for Haxe

A Haxe utility that watches for file system changes, and runs a command after each change.

Installation

Use the haxelib install command to download Hunter.

haxelib install hunter

Requires Haxe 4.2 or newer.

Command Line

Use the haxelib run command to launch Hunter. Pass in the command to run, followed by directory paths to watch, and any desired options. If no directories are specified, the current working directory will be used.

haxelib run hunter <command> [...directories] [OPTIONS]

Options

The following options can be added to the haxelib run hunter command to customize its behavior.

  • --interval seconds

specify the polling, in seconds (default: 0.2)

  • --wait seconds

specify an additional delay after running the command, in seconds (default: 0.0)

  • --ignoreDotFiles

specify if changes to dot files are ignored (default: false)

  • --help

print usage instructions

Example:

haxelib run hunter "haxe compile.hxml" src --interval 0.5 --wait 1.0 --ignoreDotFiles
Contributors
bowlerhat
Version
1.0.0
Published
6 weeks ago
Dependencies
License
Apache

All libraries are free

Every month, more than a thousand developers use Haxelib to find, share, and reuse code — and assemble it in powerful new ways. Enjoy Haxe; It is great!

Explore Haxe

Haxe Manual

Haxe Code Cookbook

Haxe API documentation

You can try Haxe in the browser! try.haxe.org

Join us on GitHub!

Haxe is being developed on GitHub. Feel free to contribute or report issues to our projects.

Haxe on GitHub