Sha256: 976bd2d28f48be3a5d59c67e47179eefe5fc77298fe5bfdfa8ef04ed7660fe14

Contents?: true

Size: 1.28 KB

Versions: 1

Compression:

Stored size: 1.28 KB

Contents

#!/usr/bin/env ruby
=begin

TORK-HERALD 1 2012-01-24 15.0.1
==============================================================================

NAME
------------------------------------------------------------------------------

tork-herald - reports modified files

SYNOPSIS
------------------------------------------------------------------------------

`tork-herald` [*OPTION*]...

DESCRIPTION
------------------------------------------------------------------------------

This program monitors the current working directory and prints relative paths
of modified files, one per line, to the standard output stream.

OPTIONS
------------------------------------------------------------------------------

`-h`, `--help`
  Display this help manual using man(1).

SEE ALSO
------------------------------------------------------------------------------

tork(1), tork-driver(1), tork-master(1), tork-herald(1)

=end =========================================================================

$0 = File.basename(__FILE__) # for easier indentification in ps(1) output

require 'binman'
BinMan.help

require 'guard'
require 'guard/listener'

listener = Guard::Listener.select_and_init(:watch_all_modifications => true)
listener.on_change {|files| puts files }
STDOUT.sync = true # don't buffer puts()
listener.start

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tork-15.0.1 bin/tork-herald