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

chore(web): add a watch + sync script #5769

Merged
merged 2 commits into from
May 3, 2024
Merged

Conversation

gribnoysup
Copy link
Collaborator

This adds a new npm script to compass-web workspace that makes it a bit easier to work on compass-web locally if you want to see the changes immediately applied in mms. As mentioned in the script description, we can't really use pnpm / npm link for this as symlinking doesn't play well with webpack module resolution logic, so the script is watching for the file changes and copies them over to whatever place compass-web was installed in mms repo. This script also assumes that you did the cloud onboarding first and have the required env variables set up

Co-authored-by: Anna Henningsen <[email protected]>
@gribnoysup gribnoysup merged commit 3f3e020 into main May 3, 2024
16 checks passed
@gribnoysup gribnoysup deleted the watch-sync-compass-web-to-mms branch May 3, 2024 11:10
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