{"version":"1.0","type":"rich","title":"The build watcher: Automatically rebuild Pelican content as files change.","description":"This example shows a Makefile-based watch loop that automatically rebuilds Pelican content whenever files in the project directory change. It uses the inotifywait command-line tool to monitor the directory recursively for create, delete, move, and modify events, triggering the `make html` target on each detected change. The loop runs indefinitely, breaking only if inotifywait fails or the build command errors. The code explicitly checks for inotifywait’s presence at startup, requiring the user to install it if missing, and documents the watcher’s role with a Game-of-Thrones–inspired comment block.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-b05664e0c1d7d67c4cf3?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}