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 @@ -5,6 +5,7 @@ process.env["BS_VSCODE"] = "1";
5
5
var fs = require ( "fs" ) ;
6
6
var path = require ( "path" ) ;
7
7
var cp = require ( "child_process" ) ;
8
+ var child_process = require ( "child_process" ) ;
8
9
var sourceDirs = [
9
10
"ext" ,
10
11
"common" ,
@@ -58,7 +59,9 @@ function buildFinished(code, signal) {
58
59
// TODO: check ninja exit error code
59
60
if ( code === 0 ) {
60
61
// This is not always correct
61
- ninjaFile . updateDev ( ) ;
62
+ // ninjaFile.updateDev();
63
+ // This file is cached
64
+ child_process . fork ( path . join ( __dirname , "ninja.js" ) , [ "-dev" ] ) ;
62
65
}
63
66
}
64
67
}
@@ -79,7 +82,6 @@ sourceDirs.forEach(x => {
79
82
} ) ;
80
83
rebuild ( ) ;
81
84
82
- var child_process = require ( "child_process" ) ;
83
85
var readline = require ( "readline" ) ;
84
86
readline
85
87
. createInterface ( {
You can’t perform that action at this time.
0 commit comments