cabal-mon: A monitor for cabal builds

[ development, mit, program ] [ Propose Tags ]

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


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 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 repo head: git clone git://github.com/yav/cabal-mon.git
Uploaded by IavorDiatchki at 2016-08-12T20:59:51Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables cabal-mon
Downloads 2227 total (8 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2016-10-27 [all 3 reports]

Readme for cabal-mon-1.0.2

[back to package description]

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