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

Perform a soft reload of some project state when editing theme files #918

Merged
merged 2 commits into from
Mar 5, 2024

Conversation

thecrypticace
Copy link
Contributor

Before this editing the same CSS file as the theme could cause the "project" to re-initialize. There's still cases where that's necessary but for a v4 project should be much less. This means that you'll no longer:

  • See a major flicker when editing @apply blocks inside the same file
  • Have completions go completely missing in the face of some CSS syntax errors while editing

This isn't the best approach to this but it should be sufficient for now.

Note: This does not currently track new @imports for reload-ability and you'll need to reload VSCode to pick those up for now.

@thecrypticace thecrypticace merged commit 8764dc0 into master Mar 5, 2024
@thecrypticace thecrypticace deleted the v4-soft-reload branch March 5, 2024 19:52
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

Successfully merging this pull request may close these issues.

2 participants