ivogabe / gulp-typescript

A TypeScript compiler for gulp with incremental compilation support.
MIT License
831 stars 129 forks source link

Ignore tsbuildinfo in emit #627

Closed ivogabe closed 4 years ago

ivogabe commented 4 years ago

Fixes #626.

Note that this does not make the compiler incremental, it just prevents a crash. The new variant of incremental compilation is future work.

DataTables commented 4 years ago

Any idea when this will be merged in? I was about to send a similar PR to ignore tsbuildinfo since it means that composite projects can't be used at all with TS3.6+ with gulp-typescript.

simllll commented 4 years ago

Is this already released? I still experiecing exactly this issue #626 [19:15:32] TypeError: Cannot read property 'length' of undefined at Object.writeFile (/home/simon/Dev/hokify/hokify-frontend/node_modules/gulp-typescript/release/compiler.js:81:33)

when composite is true

ivogabe commented 4 years ago

It's released in 6.0.0-alpha.1. Are you using that version? If so, you may run into a different similar issue, could you then create a minimal reproduction and open a new issue?

simllll commented 4 years ago

Just saw the alpha, thanks. I can confirm this works now for me :-) thanks for your effort!