chore(dev): improve bulk change handling #2234
@ -29,7 +29,7 @@ function run(changedFile) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
clearTimeout(timeout);
|
clearTimeout(timeout);
|
||||||
timeout = setTimeout(function() {
|
timeout = setTimeout(function () {
|
||||||
buildproc = spawn("npm", ["run", "build:dev"], { stdio: "inherit", shell: true });
|
buildproc = spawn("npm", ["run", "build:dev"], { stdio: "inherit", shell: true });
|
||||||
buildproc.on("exit", code => {
|
buildproc.on("exit", code => {
|
||||||
buildproc = undefined;
|
buildproc = undefined;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user