Skip to content

Do not run if file not changed #110

@riban-bw

Description

@riban-bw

Is your feature request related to a problem? Please describe.
I am using the plugin to update a version number in source code. Everytime the file is save, even with no changes to the file, the plugin runs and bumps the version.

Describe the solution you'd like
It may be advantaegous to avoid running the plugin when the matched file has not changed. This could be enabled with an configuration option in settings.

Additional context
I suppose this may require a hook or signal from vscode to indicate whether the file is changed or for the trigger to be based on that condition. I am not sufficiently familiar with vscode extensions to know whether such a hook / trigger exists.

Metadata

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