Open magiconair opened 2 months ago
This is indeed a bug.
Temporary workaround: set the "name"
field in a/package.json
and b/package.json
to something different for both of them, like in a/package.json
"name": "a"
and b/package.json
"name": "b"
@gvilums I think the bug is here:
In const res = try map.getOrPut(script.package_name);
, package_name
is an empty string we're adding to the hash table. Therefore, the package becomes a dependency of itself here:
Awesome. The workaround works! Thank you
What version of Bun is running?
1.1.4+fbe2fe0c3
What platform is your computer?
Darwin 23.4.0 arm64 arm
What steps can reproduce the bug?
Run
bun run --filter '**' dev
orbun run --filter './*' dev
from https://github.com/magiconair/bun-filter-exampleWhat is the expected behavior?
Expecting both http servers to start concurrently.
What do you see instead?
Only the first one starts.
Additional information
Not a primary nodejs dev so I might be doing something stupid here.