Skip to content

Serves stale compiled file if there is a compilation error #14

@tlrobinson

Description

@tlrobinson

Since old compiled files are not deleted when recompiling the static middleware will serve the old file if compilation of the new file fails, which leads to confusion when developing while not paying close attention to the log.

One fix would be to delete the stale compiled file before trying to compile the new file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions