Skip to content
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

bun build --watch with --outfile creates duplicate index.js #11126

Open
huseeiin opened this issue May 16, 2024 · 0 comments
Open

bun build --watch with --outfile creates duplicate index.js #11126

huseeiin opened this issue May 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@huseeiin
Copy link
Contributor

huseeiin commented May 16, 2024

What version of Bun is running?

1.1.8+89d25807f

What platform is your computer?

Linux 6.5.0-28-generic x86_64 x86_64

What steps can reproduce the bug?

bun build index.tsx --target node --outfile dist/index.mjs --watch

its going to emit index.mjs which is the right behavior.
but after you edit index.tsx, its gonna emit an additional duplicate index.js

What is the expected behavior?

bun should only create the specified file, index.mjs

What do you see instead?

No response

Additional information

No response

@huseeiin huseeiin added the bug Something isn't working label May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant