Skip to content

Commit

Permalink
fix large file generation
Browse files Browse the repository at this point in the history
  • Loading branch information
fenos committed Jul 27, 2021
1 parent 99f5345 commit 2fafa0b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions protoc-gen-twirp_ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,10 @@
#!/usr/bin/env node

// Fix for large files generation
// once https://github.com/timostamm/protobuf-ts/pull/135 is merged
// we can remove this 2 lines as they'll be part of the plugin framework
if (process.stdout._handle) {
process.stdout._handle.setBlocking(true);
}

require('./build/protoc-gen-twirp-ts/plugin');

0 comments on commit 2fafa0b

Please sign in to comment.