Registry / utility / tilt-dev-fsnotify

tilt-dev-fsnotify

JSON →
library1.4.7gogounverified

Package fsnotify provides a platform-independent interface for file system notifications.

go get github.com/tilt-dev/fsnotify
INSTALL
IMPORT
SIG · TILT-DEV-FSNOTIFY
T
tilt-dev-fsnotify
utilitygov1.4.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

fsnotify
github.com/tilt-dev/fsnotify

Watches a directory for file system events.

package main import ( "log" "github.com/tilt-dev/fsnotify" ) func main() { watcher, err := fsnotify.NewWatcher() if err != nil { log.Fatal(err) } defer watcher.Close() err = watcher.Add("/tmp") if err != nil { log.Fatal(err) } for { select { case event := <-watcher.Events: log.Println("event:", event) case err := <-watcher.Errors: log.Println("error:", err) } } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.4.7latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
tilt-dev-fsnotify — go get tilt-dev-fsnotify · libregistry