ToddThomson / tsproject

Typescript minifier and modular typescript bundle optimizer for gulp (Ts Vinyl Adapter).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gulp .on("error", fn) is not called in failure circumstances

Dessix opened this issue · comments

commented

I needed to be able to detect when a build failed in order to determine whether or not to run later build steps, and this feature would be beneficial. For the moment, I have a workaround using the --noEmitOnError functionality of TSC.

@Dessix Yes, not only beneficial, but necessary. I would welcome a PR for this feature.

commented

I will try to make it, but I am very new (read "absolute beginner") to Gulp. We'll see how it goes.

commented

I've got nothing. I may actually be more lost than before on how gulp works. Can anyone else try their hand at this?

This issue has been addressed in TsBundler