Open cbou opened 2 months ago
Hmmm, I don't know much about Turbo I'm afraid.
In this case, much of the interception is powered by env vars, which are expected to propagate into subprocesses. It seems like Turbo filters env vars by default to only the settings it recognizes (see https://turbo.build/repo/docs/crafting-your-repository/using-environment-variables#strict-mode) which sounds like it might be related! If you run Turbo with --env-mode=loose
does that resolve this for you?
Has this been reported before?
Repro steps
Create a new turbo repo project:
Create a new file
apps/web/fetch.js
with the following code:Add this line to the scripts of
apps/web/package.json
Add this line to the scripts of
package.json
Add this line to the tasks of
turbo.json
Now start httptoolkit and record your terminal with
First run fetch via turbo with
npm run fetch
, nothing will be log in httptoolkit. After do the same directly via node withnode fetch.js
, the request will be logged.How often does this bug happen?
Every time
The desktop OS you're using
Mac OS 14.6
Details of other apps/devices
No response
Error screenshot
No response
Any other info?
No response