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

Testing all packages in a melos project #26

Closed
ryanhanks-bestow opened this issue Sep 12, 2022 · 3 comments
Closed

Testing all packages in a melos project #26

ryanhanks-bestow opened this issue Sep 12, 2022 · 3 comments

Comments

@ryanhanks-bestow
Copy link

Hi,

I have a melos project with a number of packages, and I like to watch all of them at once.

What's the best way to go about this? I currently have a melos script execute spec --watch in each package, and this works pretty well, with the limitation that I'm not able to interact with any of the watchers.

Is there a way I can watch all the packages in a melos project while retaining the interactive functionality offered by spec?

Thanks

@rrousselGit
Copy link
Contributor

You shouldn't need to do anything. Spec already integrates with melos

No need to run "spec --watch" on each packages. Simply run it once above all packages

@ryanhanks-bestow
Copy link
Author

ryanhanks-bestow commented Sep 25, 2022

Thanks, I had ran into a bit of an edge case.

My melos.yaml config had config data for a new melos feature (ide/intellij/moduleNamePrefix), and the melos instance within the spec cli was choking on this yaml.

spec swallowed this errors, so it was difficult to know that there was a problem at all.

Thanks @rrousselGit

@ryanhanks-bestow
Copy link
Author

Actually, I'm don't think that was the issue, I'm failing to reproduce that in isolation.

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

No branches or pull requests

2 participants