atom-build
atom-build copied to clipboard
Double output?
Since the last update, the output from the build process is printed twice. This certainly has to do with the last update since it only started doing this after the update.
I'm guessing Atom accidentially activated it twice. Have you tried restarting/reinstalled?
Will try and let you know!
Did it work?
I came across the same problem. It doesn't occur always, but it's easy to make it happen. I use atom-build-cargo
and the minimum set of steps to reproduce it:
- Change something in a project file to make it 'dirty' (to guarantee its recompilation the next time). Also make sure that the code has some problems to make the compiler complain.
- Restart Atom.
- Build the project with the
Cargo: test
target.
That's all. The output is always doubled in this scenario for me.
Some additional observations:
- If I use another target, the scenario won't work (the duplication doesn't occur).
- If I build the project with the default target (
Cargo: build (debug)
) before running tests, the scenario won't work. - Cargo command executes additional
rustc
process to compile the code, and it's only the messages fromrustc
that are doubled. The messages from Cargo itself are correct. - At first, I thought that the problem is in the terminal type that is used by these processes, because we recently switched to
xterm
inatom-build-cargo
forrustc
. But when I switched thexterm
mode off, the problem didn't disappear.
Thanks for the input @alygin . The steps to reproduce doesn't work for a simple build file just echoing "hello". I'll see if I can get a cargo environment running and do it exactly as you describe.
I'm seeing the same thing that @alygin is seeing:
I'm using atom-build-cargo
as well, but I'm on Windows 10.
I think it may be related to the number of projects opened. I have set up x .yml files and x set of keymaps for each project. Then, I added x project folder to the panel, and when I press the shortcut, x files are executed.