File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -496,15 +496,17 @@ process.on("message", (msg: m.Message) => {
496496 let projectRootPath = msg_ . projectRootPath ;
497497 let bsbPath = path . join ( projectRootPath , c . bsbNodePartialPath ) ;
498498 // TODO: sometime stale .bsb.lock dangling
499- // TODO: close watcher when lang-server shuts down
499+ // TODO: close watcher when lang-server shuts down. However, by Node's
500+ // default, these subprocesses are automatically killed when this
501+ // language-server process exits
500502 if ( fs . existsSync ( bsbPath ) ) {
501503 let bsbProcess = utils . runBsbWatcherUsingValidBsbPath (
502504 bsbPath ,
503505 projectRootPath
504506 ) ;
505507 let root = projectsFiles . get ( projectRootPath ) ! ;
506508 root . bsbWatcherByEditor = bsbProcess ;
507- bsbProcess . on ( "message" , ( a ) => console . log ( "wtf======" , a ) ) ;
509+ // bsbProcess.on("message", (a) => console.log(a));
508510 }
509511 }
510512 }
You can’t perform that action at this time.
0 commit comments