Skip to content

IS-10358 Allow custom themes to be watched#70

Merged
urre merged 1 commit intodevfrom
fix/dev/IS-10358-allow-custom-themes-to-be-watched
Mar 9, 2026
Merged

IS-10358 Allow custom themes to be watched#70
urre merged 1 commit intodevfrom
fix/dev/IS-10358-allow-custom-themes-to-be-watched

Conversation

@urre
Copy link
Copy Markdown
Collaborator

@urre urre commented Feb 20, 2026

By default, Vite only watches files that are directly imported. This ensures that changes to the shared CSS source in the common package automatically trigger a rebuild of the identity server styles, even though those files aren't directly in the identity server's import graph at the directory level.

Copilot AI review requested due to automatic review settings February 20, 2026 15:34
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Identity Server’s Vite configuration so that style builds in watch mode will also rebuild when the shared CSS library source changes, even when those files are not part of the Identity Server’s direct import graph.

Changes:

  • Adds a small Vite/Rollup plugin in --mode styles to watch src/common/css/lib/src during vite build --watch.
  • Ensures the additional watch is only enabled when running in watch mode (this.meta.watchMode).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@urre urre merged commit dfa0464 into dev Mar 9, 2026
4 checks passed
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.

4 participants