The cabal-mon package

[Tags:mit, program]

A vty-based wrapper around the fswatch utility, which makes it easy to monitor parallel Cabal builds.


[Skip to Readme]

Properties

Versions 1.0.0, 1.0.1, 1.0.2
Dependencies base (<5), containers, directory, filepath, process, simple-get-opt, vty [details]
License MIT
Author Iavor S. Diatchki
Maintainer iavor.diatchki@gmail.com
Category Development
Source repository head: git clone git://github.com/yav/cabal-mon.git
Uploaded Fri Aug 12 20:59:51 UTC 2016 by IavorDiatchki
Distributions NixOS:1.0.2
Downloads 318 total (5 in the last 30 days)
Votes
0 []
Status Docs not available [build log]
Last success reported on 2016-10-27 [all 3 reports]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for cabal-mon

Readme for cabal-mon-1.0.2

This is a utility which monitors changes to the files in a directory. It was designed to make it easy to monitor parallel Cabal builds.

The utility works by monitoring the log files produced by Cabal, using fswatch, which is available here:

http://emcrisostomo.github.io/fswatch/

A typical use would be to simply invoke it in a sandbox:

cabal-mon

This will automatically find the directory with the Cabal logs, and start up an instance of fswatch to monitor the files for modifications.

The default fswatch monitor for Mac OS does not report events very frequently, so you may have better luck by using the kqueue one:

cabal-mon -m kqueue_monitor

When files are updated, their content will be displayed by the utility. The menu uses the following colors:

  • green: this is the package that is currently being watched
  • red: this package has changes that you have not yet looked at
  • white: this package has not changed since the last time you looked at it