nicosantangelo / sublime-gulp

Run Gulp tasks and use snippets from Sublime Text
https://sublime-gulp.nicosantangelo.com/
MIT License
155 stars 18 forks source link

The warnings are displayed when I kill the running tasks... #11

Closed DiegoAz closed 9 years ago

DiegoAz commented 10 years ago

Hi.

For example I have I task with stylus. When I do a wrong import, in the terminal appear the warning message as soon as I save the file. On the other hand, with your plugin, that message appear only when I kill the running task.

I am using Sublime Text 3 and Windows 7. With this project happen the above : http://1drv.ms/1unQbKF Thaks for check and for you plugin and don't worry.

nicosantangelo commented 10 years ago

I'm using it with watch and concat and it works (in ST3), but maybe stylus is doing something different, I'll look into it!

Just to recreate the issue, are you using stylus with watch?, and, if you don't mind, which OS are you using?

Thanks! (and sorry for the inconvenience)

nicosantangelo commented 10 years ago

Sadly, this is harder to implement than what I thought.

To show the output I'm reading from stdout first and then from stderr but, by default, they're blocking. The problem is that there's no pretty way to make it non-blocking cross-OS (Unix it's not that hard, but Windows is really different).

I'll try to add it anyways (probably conditionally) but it will take me some time, sorry!

nicosantangelo commented 9 years ago

Well this should be working now. It may take a while for Package Control to update the version, but 3.2.0 is the last one.

Let me know if it's working for you, and thanks for the suggestion! :)

DiegoAz commented 9 years ago

Hi, yes, its working now. Thanks.