atom-build icon indicating copy to clipboard operation
atom-build copied to clipboard

Double output?

Open fvandillen opened this issue 8 years ago • 7 comments

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.

fvandillen avatar Aug 04 '16 22:08 fvandillen

I'm guessing Atom accidentially activated it twice. Have you tried restarting/reinstalled?

noseglid avatar Aug 05 '16 07:08 noseglid

Will try and let you know!

fvandillen avatar Aug 05 '16 08:08 fvandillen

Did it work?

Cxarli avatar Aug 12 '16 14:08 Cxarli

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:

  1. 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.
  2. Restart Atom.
  3. Build the project with the Cargo: test target.

That's all. The output is always doubled in this scenario for me.

Some additional observations:

  1. If I use another target, the scenario won't work (the duplication doesn't occur).
  2. If I build the project with the default target (Cargo: build (debug)) before running tests, the scenario won't work.
  3. Cargo command executes additional rustc process to compile the code, and it's only the messages from rustc that are doubled. The messages from Cargo itself are correct.
  4. At first, I thought that the problem is in the terminal type that is used by these processes, because we recently switched to xterm in atom-build-cargo for rustc. But when I switched the xterm mode off, the problem didn't disappear.

alygin avatar Aug 20 '16 22:08 alygin

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.

noseglid avatar Aug 21 '16 07:08 noseglid

I'm seeing the same thing that @alygin is seeing:

atom_double_build

I'm using atom-build-cargo as well, but I'm on Windows 10.

randomPoison avatar Sep 30 '16 02:09 randomPoison

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.

s0ra avatar Nov 05 '16 00:11 s0ra