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
[turborepo] early exit when trying to use rollup's watch mode #4983
Comments
Hey @NullVoxPopuli! As a first pass I looked at the Dropping this as a "just in case" bit of feedback, will take a more-detailed pass later. |
Hello! Thanks for looking in to this!
I don't think so -- in the reproduction, there are no other tasks? |
I can reproduce this in a much simpler example too: https://github.com/mehulkar/turbo-issue-4983. Need to look into how the rollup executable works. I tried passing |
Ok , this seems somewhat related to rollup/rollup#5004 and related issues pointed there. I tried rollup@3.20 in the example and it seems to work. I've updated the readme in the instructions to show how it working with the older version. |
What version of Turborepo are you using?
1.9.6
What package manager are you using / does the bug impact?
pnpm
What operating system are you using?
Mac
Describe the Bug
rollup's watch mode is killed by turbo, or not waited for?, hard to tell.
Expected Behavior
turbo
does not early exit, and rollup continues building / watching for changes.To Reproduce
Also written here: NullVoxPopuli/limber#926
git clone git@github.com:NullVoxPopuli/limber.git
cd limber
git checkout how-to-get-turbo-rollup-watching
pnpm i --ignore-scripts
packages/ember-repl/addon/package.json
thestart
script isrollup --config --watch
pnpm turbo start --filter ember-repl
cd packages/ember-repl/addon
pnpm start
start
script in this package is a long-running watch mode that doesn't exit unlessCtrl+C
is pressed (or some other kill/stop process signal is sent to the process)Reproduction Repo
NullVoxPopuli/limber#926
The text was updated successfully, but these errors were encountered: