You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1.3 KiB


  • Fix ESM build by using named EventEmitter export


  • Fix published types


  • Include TypeScript declaration file (.d.ts)


  • Make sure we manually emit an event for a directory when one of its direct children is updated


  • Internal rewrite in TypeScript
  • Git tag is now the built version, for easier direct installation without the npm registry


  • Rename .files to .paths, as it contains directories, not just files
  • Include an additional isNew boolean in + events, indicating whether this is a new or an updated file/directory
  • No longer call the filter function on the root watched directory
  • No longer include the root watched directory under the '' in the Map, nor emit + events for it


  • Rollup was erroneously added as a dependency and is now a dev dependency as it should be


  • Add some more type checking
  • Ignore error events from FSWatcher, as Windows seems to like emitting these sometimes


  • Report directory stats and events
  • Expose latest stats for all files and directories as watch.files
  • Expose pre-deletion stats for deleted files and directories as part of - event
  • watch.init() simply returns a Promise resolving to undefined now that watch.files is available


  • Initial release