Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

πŸ› οΈπŸ“Ÿ Live reload tool during development - Abstraction over `chokidar.watch` module.

Notifications You must be signed in to change notification settings

AppScriptIO/nodejsLiveReload

Repository files navigation

nodejsLiveReload

  • File watcher module wrapper using chokidar.watch - reveiving a list of file paths to watch and triggers events on changes.
  • Run webapps with livereloading - Used as a live reload tool for reloading browser and server depending on files changed.

TODO list


Some notes regarding filesystem watch:

  • chokidar polling - Legacy file changes checking using 'usePolling' flag for chokidar.
  • Increasing OS file watch number - check maximum number of inotify watches - cat /proc/sys/fs/inotify/max_user_watches - as per https://unix.stackexchange.com/questions/13751/kernel-inotify-watch-limit-reached
  • Docker inotify compatibility with Windows - to allow Linux inotify to fire a file change event use - "docker-volume-watcher" on the Windows host (it is a python program that watches files on the host using native directory/files change triggers, rather than polling).

πŸ”‘ License: MIT

About

πŸ› οΈπŸ“Ÿ Live reload tool during development - Abstraction over `chokidar.watch` module.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /