Skip to content

Very simple custom Express server/middleware for live-reloading

Notifications You must be signed in to change notification settings

twome/src-change-reload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Very simple custom Express server/middleware for live-reloading. It injects a type="module" script tag before </body>, and that script just does simple polling to a namespaced (/dev/) pseudo-API url to check the last time the source files were modified. The server replies based on a Chokidar file watcher.

About

Very simple custom Express server/middleware for live-reloading

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published