Watching? #670
-
I see that the Jest plugin has a I'm currently maintaining a monorepo without an orchestrator (shopping for one), and I think this is the biggest pain point. The only thing I can reliably do is |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Writing commands is the most recommended way to do this, as we've found more often than not that we need to include default flags for third-party commands, or run extra setup or checks under certain conditions, and it's better to have a wrapper command to handle this. These wrappers can start pretty simple. Here's an example that runs the netlify dev server: https://github.com/paularmstrong/paularmstrong.dev/blob/64049b3229292b99ce4c007c96cdae321d0c7d2c/commands/start.ts#L12-L20 There's an alternative to bootstrap and get things running for the simplest cases: passthrough commands. These are discouraged mostly due to the previous reasoning and because you are limited in help documentation and extra options/arguments that can be passed through. This is exactly how oneRepo runs documentation with Astro: onerepo/docs/onerepo.config.ts Lines 5 to 10 in b797bba |
Beta Was this translation helpful? Give feedback.
Writing commands is the most recommended way to do this, as we've found more often than not that we need to include default flags for third-party commands, or run extra setup or checks under certain conditions, and it's better to have a wrapper command to handle this. These wrappers can start pretty simple. Here's an example that runs the netlify dev server: https://github.com/paularmstrong/paularmstrong.dev/blob/64049b3229292b99ce4c007c96cdae321d0c7d2c/commands/start.ts#L12-L20
There's an alternative to bootstrap and get things running for the simplest cases: passthrough commands. These are discouraged mostly due to the previous reasoning and because you are limited in help documentation…