Skip to content

IS-10358 Update component-library use watch mode from root level npm start#91

Merged
urre merged 1 commit intodevfrom
feat/dev/IS-10358-update-root-level-watch-mode-for-component-library
Mar 23, 2026
Merged

IS-10358 Update component-library use watch mode from root level npm start#91
urre merged 1 commit intodevfrom
feat/dev/IS-10358-update-root-level-watch-mode-for-component-library

Conversation

@urre
Copy link
Copy Markdown
Collaborator

@urre urre commented Mar 19, 2026

When running npm start from the root, editing a file in the component library does not reflect it changes in the browser. This is because we use start not watch in the npm script. Watch will build using the watch flag which makes the artifacts instantly available.For example the Self Service Portal is using the Component Library, it will get the changes.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@urre urre requested review from Copilot and vahag-curity March 19, 2026 08:18
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

Updates the root npm start workflow so that the component library continuously rebuilds its dist/ outputs while other workspace apps (e.g., SSP) are running, enabling immediate pickup of component changes without manual rebuilds.

Changes:

  • Switch root start:component-library from running the component library dev server (start) to running its build watcher (watch).

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

@urre urre changed the title IS-10358 Update component-library start script to use watch mode. IS-10358 Update component-library use watch mode from root level npm start Mar 19, 2026
@urre urre merged commit 70c0dd0 into dev Mar 23, 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