-
Notifications
You must be signed in to change notification settings - Fork 122
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
divergent behavior between node <script>
and node-dev <script>
#288
Comments
The jest-worker is using the copying execArgv ( |
/* wrap.js */
if (IS_NODE_DEV_ENTRY) {
delete process.env.IS_NODE_DEV_ENTRY; // critically, flag this file as a noop in the future!
doTheNormalWrapStuff()
} else {
/* noop */
} |
I cloned the repo, ran
I'm not seeing the behavior that you're describing. |
hmm. that's odd. i'm getting the same result on two different machines. Maybe we could compare envs?
|
I'm using node v17.9.0, I tried 17.1.0 and it exhibited the same behavior you described. I don't particularly want to spend more time on debugging the issue, it works on the latest version of 16 and 17. |
I went from “not having a node bug since 8.x” to two in the last month. So
infrequent that I rarely remember to even check the node version! 😀
Thanks for running it
On Sun, Apr 17, 2022 at 12:45 AM Bjorn Stromberg ***@***.***> wrote:
I'm using node v17.9.0, I tried 17.1.0 and it exhibited the same behavior
you described. I don't particularly want to spend more time on debugging
the issue, it works on the latest version of 16 and 17.
—
Reply to this email directly, view it on GitHub
<#288 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHU57JURQ3NRFK2CX4BHCDVFO6QZANCNFSM5TTA37EA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Sent from Gmail Mobile
|
@cdaringe This sounds a lot like nodejs/node#41134, which caused the following issue on Jest: jestjs/jest#12060 Try upgrading to Node.js v14.19.2, v16.14, or v17.4 if you're currently using an older version |
Problem
node myscript.js
emits events and logs, butnode-dev myscript.js
does not.Reproduction
I've produced a tiny reproduction with minimal but complete instructions here: https://github.com/cdaringe/node-dev-divergent-behavior-workers#demo
npm run start-without-node-dev
npm start
and the process exits (awaiting respawn, if respawn used)
The text was updated successfully, but these errors were encountered: