Skip to content

Extending Rulesets with local filepath not refreshing #266

@erwinkramer

Description

@erwinkramer

Describe the bug

Extending Rulesets with local filepath will not refresh validation when you only work in the ruleset that is being extended.

To Reproduce

Make the main .spectral.yml like so:

extends: 
  - .spectral.ruleset.bank.yml

Edit only your .spectral.ruleset.bank.yml. after making the main .spectral.yml file. You will see no impact on the files that it's validating. Only when you force a change to .spectral.yml again, then it updates and validates with the changes.

Expected behavior
For local extends, it should monitor all files and update accordingly.

Environment:

  • Extension version: 1.1.4
  • VS Code version: 1.96
  • Operating System: Windows 11

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