- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Minimum required node version changed from
node: >=8tonode: >=10to keep up with mandatory ecosystem changes
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files and editions using boundation
- Development dependency
rimrafnow requires node version6at minimum- As such, the minimum supported node version of watchr has changed from
0.12to the latest LTS at the time of this release which is8
- As such, the minimum supported node version of watchr has changed from
- Updated dependencies, base files and editions using boundation
- Updated minimum supported node version to 0.12, due readdir-cluster's use of Promises
- This is an API backwards compatible release, however the underlying changes may introduce some problems, so a rolling adoption is warranted
- Directory contents are now scanned in parallel
- Directory scanning is now done by scandirectory v3 (instead of v2) which uses readdir-cluster
- readdir-cluster should offer performance benefits, but currently does not run in non-master processes
- Updated dependencies
- Updated base files
- Fixed
opennot returning the stalker instance - Thanks to Davide Mancuso for issue #88 - Fixed documentation on
createnot indicating that it returns the stalker instance - Updated base files
- Rewrote for better stability, all issues should now be considered closed
- Converted from CoffeeScript to JavaScript
- Node v0.8 support added once again (before node v0.12 was the earliest supported version)
- Added jsdoc
- Added flow type annotations
- Potentially fixed swapfiles breaking watching - Thanks to Josh Levine for pull request #76
- Updated dependencies
- Updated engines to be node >=0.12 as to align with safefs v4 - May still work with node 0.10, file a bug report if it doesn't
- Updated dependencies
- Fixed
previousStatnot existing sporadically on delete events - Thanks to Stuart Knightley for pull request #61 - Updated dependencies
- Fixed interval option not beeing passed on to child watchers (regression since v2.4.7) - Thanks to David Byrd for pull request #58
- Fixed watchr emitting error events incorrectly (regression since v2.4.7) - Thanks to Aaron O'Mullan for pull request #59
- Fixed
"me" is undefinederrors (regression since v2.4.7)
- You can now pass falsey values for
catchupDelayto disable it
- Fixed: Text Editor swap files on saving can throw it off
- Fixed:
ENOENTerrors are emitted when dead links a broken symlink is encountered - Updated dependencies
- Updated dependencies
- Updated dependencies
- Added the ability to turn off following links by setting
followLinkstofalse- Thanks to Fredrik Noren for pull request #47 - Prefer accuracy over speed - Use the watch method by default, but don't trust it at all, always double check everything
- More work on swap file handling
- File copies will now trigger events throughout the copy rather than just at the start of the copy - Close issue #35
- Fixed bubblr events
- Fixed swap file detection
- Updated dependencies
- Updated dependencies
- Made it so if
duplicateDelayis falsey we will not do a duplicate check
- Fix
Object #<Object> has no method 'emit'error - Thanks to Casey Foster for pull request #32
- Changed the
preferredMethodoption intopreferredMethodswhich accepts an array, defaults to['watch','watchFile'] - If the watch action fails at the eve level we will try again with the preferredMethods reversed - This solves issue #31 where watching of large files would fail
- Changed the
intervaloption to default to5007(recommended by node) instead of100as it was before - Thewatchmethod provides us with immediate notification of changes without utilising polling, however thewatchmethod fails for large amounts of files, in which case we will fall back to thewatchFilemethod that will use this option, if the option is too small we will be constantly polling the large amount of files for changes using up all the CPU and memory, hence the change into a larger increment which has no CPU and memory impact.
- Fixed fallback when preferredMethod is
watchFile
- Fixed uncaught exceptions when intialising watchers under certain circumstances
- Better handling and detection of failed watching operations
- Better handling of duplicated events
- Watching is now an atomic operation - If watching fails for a descendant, we will close everything related to that watch operation of the eve
- We now prefer the
watchmethod over thewatchFilemethod - This offers great reliability and way less CPU and memory foot print - If you still wish to preferwatchFile, then set the new configuration optionpreferredMethodtowatchFile - Closes issue #30 thanks to Howard Tyson
- Added
outputLogoption - Added
ignorePathsoption - Thanks to Tane Piper for issue #24 - Now properly ignores hidden files - Thanks to Ting-yu (Joseph) Chiang for issue #25 and Julien M. for issue #28
- Added
Watcher::isIgnoredPathmethod - Added tests for ignored and hidden files
- Fixed closing when a child path watcher doesn't exist - Closes pull request #26 thanks to Jason Als
- Added close tests
- Fixed a bug with closing directories that have children - Thanks to Casey Foster for issue #23
- This is a backwards compatiblity break, however updating is easy, read the notes below.
- We've updated the events we emit to be: -
logfor debugging, receives the argumentslogLevel ,args...-watchingfor when watching of the path has completed, receives the argumentserr, isWatching-changefor listening to change events, receives the argumentschangeType, fullPath, currentStat, previousStat-errorfor gracefully listening to error events, receives the argumentserr- read the README to learn how to bind to these new events - The
changeTypeargument for change listeners has been changed for better clarity and consitency: -changeis nowupdate-newis nowcreate-unlinkis nowdelete - We've updated the return arguments for
require('watchr').watchfor better consitency: - if you send thepathsoption, you will receive the argumentserr, resultswhereresultsis an array of watcher instances - if you send thepathoption, you receive the argumentserr, watcherInstance
- Fixed sub directory scans ignoring our ignore patterns
- Updated dependencies
- We now ignore common ignore patterns by default
ignorePatternsconfiguration option renamed toignoreCommonPatterns- Added new
ignoreCustomPatternsconfiguration option - Updated dependencies - bal-util from 1.13.x to 1.15.x
- Closes issue #22 and issue #21 - Thanks Andrew Petersen, Sascha Depold, Raynos, and Prajwalit for your help!
- Added missing
binconfiguration - Fixes #16 thanks to pull request #17 by Robson Roberto Souza Peixoto
- Fixed completion callback not firing when trying to watch a path that doesn't exist
- Fixed new listeners not being added for directories that have already been watched
- Fixed completion callbacks happening too soon
- Thanks to pull request #14 by Casey Foster
- Re-added markdown files to npm distribution as they are required for the npm website
- Fixed spelling of
persistent - Explicitly set the defaults for the options
ignoreHiddenFilesandignorePatterns
- Added support for
intervalandpersistantoptions - Improved unlink detection
- Optimised unlink handling
watchr.watchrchanges - now only accepts one argument which is an object - added newpathsproperty which is an array of multiple paths to watch - will only watch paths that actually exist (before it use to throw an error)- Fixed a few bugs
- Added support for node v0.7/v0.8
- Moved tests from Mocha to Joe
- Fixed a bug with closing watchers
- Now requires pre-compiled code
- Big rewrite
- Got rid of the delay
- Now always fires events
- Watcher instsances inherit from Node's EventEmitter
- Events for
change,unlinkandnew
- Better support for ignoring hidden files
- Improved documentation, readme
- Added
History.mdfile - Added unit tests using Mocha
- Initial working version