Elektrine lite

← Feed

@alex@social.alexwlchan.net

Post #2427317

2026-05-11 06:47 UTC

Watching for file changes on macOS: https://alexwlchan.net/2026/watch-files-on-macos/ I wrote about my new Swift/Python scripts to get notified of file changes… without using third-party dependencies. I’ve got a Swift script that uses the FSEvents API to get notified of file changes, then I’m using stdout as a bridge to forward those notifications to Python.

Replies (1)

  • @alex@social.alexwlchan.net 2026-05-14 07:57

    Waiting for website changes in the browser: https://alexwlchan.net/2026/livereload-in-browser/ Once my server knows that files have changed, how do I reload open pages in my browser? With HTTP long polling and a dash of JavaScript.

    Open ##2901531