module Snooper
Public: This module provides the snooping abilities.
This program runs in the background watching for file changes. When a file change is dtected a command is run. It is intended to watch repos for changes and run unit tests automatically when source files are changed.
- Author
-
Will Speak (@willspeak)
- Copyright
-
Copyright © 2013 Will Speak
- License
-
Snoop
is open source! See LICENCE.md for more details.
For most applications calling the Snooper#watch method should be sufficient if not Snooper::Snoop
objects can be created directly.
- Author
-
Will Speak (@willspeak)
- Copyright
-
Copyright © 2013 Will Speak
- License
-
Snooper
is open source! See LICENCE.md for more details.
- Author
-
Will Speak (@willspeak)
- Copyright
-
Copyright © 2013 Will Speak
- License
-
Snoop
is open source! See LICENCE.md for more details.
- Author
-
Will Speak (@willspeak)
- Copyright
-
Copyright © 2013 Will Speak
- License
-
Snooper
is open source! See LICENCE.md for more details.
- Author
-
Will Speak (@willspeak)
- Copyright
-
Copyright © 2013 Will Speak
- License
-
Snoop
is open source! See LICENCE.md for more details.
Constants
- VERSION
Public: The library version for this module
This should conform to SemVer. If this is changed it should be the only thing that changes in the comit.
Public Class Methods
Public: Watch for changes in a directory
config - The String containing the path to a config or a Config-like object
Returns the reseult of the run.
# File lib/snooper.rb, line 27 def self.watch(config) Snoop.new(config).run end