Skip to content

Feature Request: Throw fatal error if compilation fails #10

@jvilk

Description

@jvilk

Currently, if typescript-require encounters errors during compilation but a previous compiled version of the TypeScript file is present, it will use the old one and chug on.

This is undesired behavior for me, as it's easy to miss the compilation errors and think that your changes did not fix an issue.

If this is desired default behavior, could you expose a configuration option that turns this into a fatal error?

Thanks!

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