Good morning.
Thanks it is working as expected now! But it seems the
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.mdIf I do
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
REBUILD_AFTER_EDIT=true ./scripts/edit.sh src/2025-04-16-trying-out-bssg.mdit works as expected as when I exit vim editor after changes in a post, #BSSG automatically rebuilds. I did not test this yesterday though since edit.sh was not working then.