Skip to content

Conversation

@castastrophe
Copy link
Contributor

@castastrophe castastrophe commented Mar 17, 2021

In removing the parallel runs, I neglected to update the command to run the watch in parallel.

Tests

  • Run npm run pfe-card locally; expect build to run in stream and the watch to fire for pfelement, pfe-sass, and pfe-card

Ready-for-merge Checklist

  • Expected files: all files in this pull request are related to one request or issue (no stragglers or scope-creep).
  • Build runs successfully.

Merging

Please squash when merging and ensure your commit message uses conventional commit formatting.

Be sure to share your updates with the patternfly-elements-contribute@redhat.com mailing list!

@github-actions github-actions bot added the tools Development and build tools label Mar 17, 2021
}`;

module.exports.lernaRun = (command, components) => `lerna -- run ${command} --no-bail --stream --include-dependencies ${
module.exports.lernaRun = (command, components) => `lerna -- run ${command} --no-bail ${command === "build" ? `--stream` : `--parallel`} --include-dependencies ${
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks fine but this command is getting mighty long. May be worth pulling this ternary out to it's own line.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

+1 Mind if we tackle that in another issue?

@castastrophe castastrophe merged commit 1e13d40 into master Mar 17, 2021
@castastrophe castastrophe deleted the chore-lerna-watch-parallel branch March 17, 2021 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tools Development and build tools

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants