Skip to content
This repository was archived by the owner on May 7, 2020. It is now read-only.

Commit 71b563d

Browse files
committed
add stdio support
1 parent 805cf34 commit 71b563d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace TagCloseRequest {
2525
}
2626

2727
export function startServer() {
28-
const connection = createConnection(
28+
const connection = process.argv.includes('--stdio') ? createConnection(process.stdin, process.stdout) : createConnection(
2929
new IPCMessageReader(process),
3030
new IPCMessageWriter(process),
3131
);

0 commit comments

Comments
 (0)