rctay / sublime-text-buildview

A Sublime Text plugin to show build output in a view.
MIT License
67 stars 7 forks source link

Only first line produced in output on Windows #5

Closed tadvi closed 11 years ago

tadvi commented 11 years ago

On Windows this plug-in produces only first line into the output. All other lines do not make into the newly open output view.

rctay commented 11 years ago

Could you describe in detail your build process?

tadvi commented 11 years ago

It almost looks like it is caching old output. My build simply runs python. Python script does not do much and produces output. First time I run it, it works and shows correct result in output view "Build output" on the left. Then I change Python script to produce no output or less/more output, yet "Build output" shows the old output. It is like execution is cached.

My build file for Python is { "cmd": ["python", "-u", "$file"], "file_regex": "^[ ]File \"(...?)\", line ([0-9]*)", "selector": "source.python" }

rctay commented 11 years ago

Could you provide the "before" and "after" python scripts to reproduce this? (of course, edit out the private stuff as necessary)

tadvi commented 11 years ago

Python script has only few print statements. There is no logic in it. I think problem is that one or more of my ST2 settings are different than yours. I also somehow always get two "Build output" windows... not sure why.

clip2

rctay commented 11 years ago
  1. what produces the "dev DEBUG loaded" line?
  2. you'll get duplicate output views if you i) reload this build plugin ii) restart sublime (the old build output view reopens) and launch a new build (build output goes to a new view, and will keep doing so for future builds). are those the situations where you get two build output views?