Skip to content

Commit

Permalink
Remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
chenglou committed Sep 21, 2020
1 parent 3369afe commit ea27c81
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions server/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ let deleteProjectDiagnostics = (projectRootPath: string) => {

let compilerLogsWatcher = chokidar.watch([])
.on('all', (_e, changedPath) => {
console.log('new log change', changedPath, Math.random())
sendUpdatedDiagnostics()
})
let stopWatchingCompilerLog = () => {
Expand Down Expand Up @@ -165,7 +164,6 @@ process.on('message', (a: (m.RequestMessage | m.NotificationMessage)) => {
let params = (aa.params as p.DidOpenTextDocumentParams);
let extName = path.extname(params.textDocument.uri)
if (extName === c.resExt || extName === c.resiExt) {
console.log("new file coming", params.textDocument.uri)
openedFile(params.textDocument.uri, params.textDocument.text)
}
} else if (aa.method === DidChangeTextDocumentNotification.method) {
Expand Down

0 comments on commit ea27c81

Please sign in to comment.