I'm using wisp via the webpack loader (https://github.com/girvo/wisp-loader) and noticed that a webpack --watch will happily compile deleted macros.
This is because macros are stored in the global **macros** in wisp.expander. So it'd be great if there was either a way of getting a "fresh" compiler or "resetting" that global to remove the user defined macros.
I'm happy to try and fix this if someone can point me at the correct solution.
Hi,
I'm using wisp via the webpack loader (https://github.com/girvo/wisp-loader) and noticed that a
webpack --watch
will happily compile deleted macros.This is because macros are stored in the global
**macros**
in wisp.expander. So it'd be great if there was either a way of getting a "fresh" compiler or "resetting" that global to remove the user defined macros.I'm happy to try and fix this if someone can point me at the correct solution.
Thanks, Matt
PS thanks for wisp, it is great :)