Good morning.
Thanks it is working as expected now! But it seems the REBUILD_AFTER_EDIT function afterwards is borken:

% ./scripts/edit.sh src/2025-04-16-trying-out-bssg.md                                                                                                                                     
Updating lastmod timestamp to 2025-04-16 08:54:43 -0500...
File saved: src/2025-04-16-trying-out-bssg.md
Rebuild skipped (REBUILD_AFTER_EDIT=false).
% grep REBUILD config.sh*
config.sh:REBUILD_AFTER_POST=true # Build site automatically after creating a new post (scripts/post.sh)
config.sh:REBUILD_AFTER_EDIT=true # Build site automatically after editing a post (scripts/edit.sh)
config.sh.local:REBUILD_AFTER_EDIT=true
If I do

REBUILD_AFTER_EDIT=true ./scripts/edit.sh src/2025-04-16-trying-out-bssg.md 
it works as expected as when I exit vim editor after changes in a post, automatically rebuilds. I did not test this yesterday though since edit.sh was not working then.
0

If you have a fediverse account, you can quote this note from your own instance. Search https://snac.bsd.cafe/kaixin/p/1744812196.517382 on your instance and quote it. (Note that quoting is not supported in Mastodon.)