You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The task fails upon the promisified pipeline reaching an instance of CompileStream the plugin's createProject method returns with the error (as the task is still registered):
Did you forget to signal async completion?
I narrowed down the issue to the gulp-typescript plugin, as the same promisified pipeline finishes successfully without it.
Non-promisified version of the pipeline also fails. However, the same task but connected via chaining of pipe methods works as expected.
Since CompileStream inherits from stream.Duplex, I am not sure what can be the problem. finish and end events are emitted. Order of events is also normal for the pipeline flow (pipe -> resume -> finish -> unpipe -> end -> pause).
Expected behavior:
Pipeline completion without issues.
Actual behavior:
The task fails upon the promisified
pipeline
reaching an instance ofCompileStream
the plugin'screateProject
method returns with the error (as the task is still registered):I narrowed down the issue to the gulp-typescript plugin, as the same promisified
pipeline
finishes successfully without it.Non-promisified version of the
pipeline
also fails. However, the same task but connected via chaining ofpipe
methods works as expected.Since
CompileStream
inherits fromstream.Duplex
, I am not sure what can be the problem.finish
andend
events are emitted. Order of events is also normal for the pipeline flow (pipe
->resume
->finish
->unpipe
->end
->pause
).Your gulpfile:
tsconfig.json
Parent tsconfig.json:
Child tsconfig.json:
Environment
Relevant dependencies:
The text was updated successfully, but these errors were encountered: