The delta package

[maintain]

Delta is a library for detecting file changes in any given directory. The package is written using the sodium FRP library but it also provides a callback based API.

The project also contains an executable, delta-run, which allows you to run arbitrary shell commands when a file in a directory (recursively) changes.

$> delta-run --help
Usage: delta-run [-i|--interval INTERVAL] [-v|--verbose] FILE CMD
Available options:
-h,--help                Show this help text
-i,--interval INTERVAL   Run at most every n seconds
-v,--verbose             Print extra output
FILE                     The directory that is watched
CMD                      The command to run

For example you could use delta-run to rebuild your project everytime the source changes like this: delta-run src cabal build

Properties

Versions0.1.0.0, 0.1.0.1, 0.1.2.0, 0.2.0.0, 0.2.1.0, 0.2.1.1, 0.2.1.2, 0.2.1.2
Dependenciesbase (>=4.6 && <4.9), containers (>=0.5), delta, directory (>=1.2), filepath (>=1.3), hfsevents (>=0.1.5), optparse-applicative (>=0.10), process (>=1.2), sodium (>=0.11), time (>=1.5) [details]
LicenseLGPL-3
AuthorChristof Schramm
Maintainerchristof.schramm@campus.lmu.de
CategoryData
Home pagehttps://github.com/kryoxide/delta
Source repositoryhead: git clone https://github.com/kryoxide/delta.git
Executablesdelta-run, delta-cli
UploadedThu Jul 23 17:18:37 UTC 2015 by muzzle

Modules

[Index]

Flags

NameDescriptionDefaultType
build_fs_eventsBuild in FSEvents support (OS X)EnabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainers' corner

For package maintainers and hackage trustees