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.
@uppfinnarjonas I consider that a bug, please file an issue
Thanks, I will work on a reproducible issue.
Here is https://github.com/squint-cljs/squint/issues/819 which links to a small https://github.com/jonasseglare/squint/tree/3c7e73111cb284bd01a67f61d867ed8580d1edfb/examples/macro-watch-bug.
thanks!