-
Notifications
You must be signed in to change notification settings - Fork 1
chore/COMPASS-9709 add sync to compass script #113
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
Conversation
}), | ||
); | ||
|
||
console.log({ packageDir, srcDir, libDir, destDir }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
leftover?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found it a bit useful as a way to double check what was changed. Happy to remove it if you find it to be some extra noise.
1_000, | ||
{ | ||
leading: true, | ||
trailing: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why both?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a bit quicker when updating one file and then also covers when updating a lot quickly. If we find it refreshing Compass twice we can move it to only be trailing, I'm thinking let's keep an eye on it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
@lchans Going to merge this, happy to make any follow ups on suggestions or changes you might have. |
Thanks @Anemy - Looks fine to me, feel free to add me or @adrianhhong to any of the reviews so it pops up on our radar! |
External Links
Description
Adds a script that listens for changes in the diagramming package, builds it, and updates the local Compass node_modules of the diagramming package with the build. This is useful for testing out changes in Compass and making sure they behave as expected.
Requires mongodb-js/compass#7206 in Compass to hot reload.