GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - NeaByteLab/Superwatcher: Zero-dependency Deno file watcher that debounces filesystem events into batched callbacks with ignore patterns and write stability detection.

BranchesTags
Open more actions menu

Latest commit

 

History

18 Commits
18 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
docs
docs
 
 
src
src
 
 
tests
tests
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
deno.json
deno.json
 
 

Repository files navigation

Superwatcher

Zero-dependency Deno file watcher with debounced batch event callbacks

Deno Module type: Deno/ESM JSR License

Features

  • Zero dependencies - No external packages, built entirely on Deno native file system APIs.
  • Debounced batch events - Groups rapid file changes into one batched callback per flush cycle.
  • Ignore filters - Skips unwanted paths using string suffix, RegExp, or custom function matchers.
  • Write stability - Delays event emission until file size stops changing after large writes.
  • Atomic write detection - Collapses delete-then-recreate within debounce window into single modify event.
  • Multi-path support - Watches any combination of directories and individual files in one instance.
  • Recursive control - Disables subdirectory watching when recursive: false is set on directories.
  • Error isolation - Catches thrown errors inside onChange callback without stopping the watcher.

Installation

Note

Prerequisites: Deno >= 2.5.4 (install from deno.com).

Deno (JSR):

deno add jsr:@neabyte/superwatcher

Read docs/README.md for full documentation.

Testing

Type check - format, lint, and type-check:

deno task check

Unit tests - format/lint tests and run all tests:

deno task test
  • Tests live under tests/ (utils and watcher tests).
  • The test task uses --allow-read, --allow-write, and --allow-env.

License

This project is licensed under the MIT license. See the LICENSE file for details.

About

Zero-dependency Deno file watcher that debounces filesystem events into batched callbacks with ignore patterns and write stability detection.

jsr.io/@neabyte/superwatcher

Topics

atomic-writesbatch-eventsdebouncedenodeno-nativedeveloper-toolsevent-batchingfile-monitoringfile-system-eventsfile-watcherfilesystemhot-reloadignore-filtersjsrrealtimerecursive-watchtypescriptwatch-fileswrite-stabilityzero-dependencies

Resources

Readme
MIT license
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.