Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extending Rulesets with local filepath not refreshing #266

Open
erwinkramer opened this issue Dec 15, 2024 · 0 comments
Open

Extending Rulesets with local filepath not refreshing #266

erwinkramer opened this issue Dec 15, 2024 · 0 comments

Comments

@erwinkramer
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant