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

"cargo run bin" runs my program three times at once #73

Open
radix opened this issue Nov 29, 2016 · 3 comments
Open

"cargo run bin" runs my program three times at once #73

radix opened this issue Nov 29, 2016 · 3 comments

Comments

@radix
Copy link

radix commented Nov 29, 2016

I'm not sure if this is a bug in atom-build-cargo or atom-build, but when I use the "Cargo Run Bin" Atom command, three copies of my program are spawned at once, with all of their output going to the same build output pane.

I'm using Windows 10.

@radix
Copy link
Author

radix commented Nov 29, 2016

I think I figured out that this was happening because I happened to have two extra folders added to my project tree, all of which contained cargo projects. They were for completely different apps, though, and only the first one was actually executed (albeit three times).

@alygin
Copy link
Collaborator

alygin commented Nov 29, 2016

It looks very similar to this issue in Atom Build. Does it happen always? Does it happen only for "Cargo run bin"?

@radix
Copy link
Author

radix commented Nov 30, 2016

Yes, I can reproduce it easily by adding an additional folder to my side-bar project tree. It has to be a folder containing a Cargo.toml - any other folder won't cause the bug. And, if I remove the additional folders, it continues to run extra copies of my program until I restart atom.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants