Show HN: Wd-40, a static webserver with automatic hot-reloads

It works by injecting a websocket script which listens for file changes. The filechanges are detected using the go fsnotify package, which in turn uses the different OS’s equivalent to inotify.

I basically got bored with alt-tabbing and refresing when developing ‘vanilla-js’. The hot-reload in the modern frameworks are very nice, so figured I’d recreate it.

Comments URL: https://news.ycombinator.com/item?id=41284189

Points: 1

# Comments: 0


Posted

in

by

Tags:

Comments

Leave a Reply