这是indexloc提供的服务,不要输入任何密码
Skip to content

User macros aren't/can't be reset #142

@thatismatt

Description

@thatismatt

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 :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions