squint

Jonas Östlund 2026-05-12T09:50:58.776059Z

Thanks for the great work with Squint! I have a question regarding macros and the watch mode, npm run dev : If I use :require-macros to include macros from some file, it seems like those macros get cached in the watch process. If I edit the implementation of a macro while the file where it is defined is being watched, it will trigger a recompilation of that file. And then I can edit the file that requires the macro to trigger a reload of that file to make sure that the macro is called again. But it seems like any changes to the implementation of a macro are ignored; instead, it is always the implementation of the macro when it was first loaded by the watch process that is being used. The only way to test the new implementation of a macro seems to be to restart the watch process. Is this behaviour of caching the implementation of a macro deliberate? I believe there might be good technical reasons for it.

❤️ 1
borkdude 2026-05-12T09:52:21.546029Z

@uppfinnarjonas I consider that a bug, please file an issue

Jonas Östlund 2026-05-12T09:52:45.782139Z

Thanks, I will work on a reproducible issue.

borkdude 2026-05-12T10:26:57.051979Z

thanks!