Changelog
v2.3.5 2013 February 6
Changelog
v2.3.4 2013 February 5
watch
method over the watchFile
method - This offers great reliability and way less CPU and memory foot print - If you still wish to prefer watchFile
, then set the new configuration option preferredMethod
to watchFile
Changelog
v2.3.3 2013 January 8
outputLog
optionignorePaths
option - Thanks to Tane Piper for issue #24Watcher::isIgnoredPath
methodChangelog
v2.3.2 2013 January 6
Changelog
v2.3.1 2012 December 19
Changelog
v2.3.0 2012 December 17
log
for debugging, receives the arguments logLevel ,args...
- watching
for when watching of the path has completed, receives the arguments err, isWatching
- change
for listening to change events, receives the arguments changeType, fullPath, currentStat, previousStat
- error
for gracefully listening to error events, receives the arguments err
- read the README to learn how to bind to these new eventschangeType
argument for change listeners has been changed for better clarity and consitency: - change
is now update
- new
is now create
- unlink
is now delete
require('watchr').watch
for better consitency: - if you send the paths
option, you will receive the arguments err, results
where results
is an array of watcher instances - if you send the path
option, you receive the arguments err, watcherInstance
Changelog
v2.2.1 2012 December 16
Changelog
v2.2.0 2012 December 15
ignorePatterns
configuration option renamed to ignoreCommonPatterns
ignoreCustomPatterns
configuration optionChangelog
v2.1.6 2012 November 6
bin
configuration - Fixes #16 thanks to pull request #17 by Robson Roberto Souza Peixoto