Skip to content

Notify compilation provider on file deletion #3023

Open
@evacchi

Description

Description
Currently compilation provider is only invoked when a file is added or updated, it may be usefl to receive a notification when a file is removed

Implementation ideas
a separate method with a set of deleted files, or a Set(Deleted(file), Updated(file))

e.g. in Kogito we need to know whether a source file (process, rule) has been removed, to update the indexes we use at runtime, and possibly remove class file that may have been already generated

we can further discuss this and provide a PR

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions