steeloverseer-2.1.0.0: A file watcher and development tool.

Safe HaskellSafe
LanguageHaskell2010

Sos.Job

Synopsis

Documentation

data Job Source #

A Job is a list of shell commands to run, along with the FileEvent that triggered the job.

Constructors

Job 

Fields

Instances
Eq Job Source #

Non-stanard Eq instance: Job equality compares only the shell commands it's associated with.

Instance details

Defined in Sos.Job

Methods

(==) :: Job -> Job -> Bool #

(/=) :: Job -> Job -> Bool #

runJob :: Job -> IO () Source #

Run a Job's list of shell commands sequentially. If a command returns ExitFailure, or an exception is thrown, propagate the exception.