Fixed the file watcher for SASS files
Signed-off-by: WolverinDEV <git@teaspeak.de>
This commit is contained in:
parent
d94e846021
commit
6932b609e1
1 changed files with 7 additions and 2 deletions
9
file.ts
9
file.ts
|
@ -805,7 +805,12 @@ namespace watcher {
|
||||||
|
|
||||||
if(this._callback_init)
|
if(this._callback_init)
|
||||||
this._callback_init();
|
this._callback_init();
|
||||||
//console.log("TSCWatcher read %d bytes", buffer.length);
|
|
||||||
|
const data = buffer.toString();
|
||||||
|
if(false) {
|
||||||
|
for(const line of data.split("\n"))
|
||||||
|
console.log("%s: %s", this.name, line);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private handle_stderr_readable() {
|
private handle_stderr_readable() {
|
||||||
|
@ -842,7 +847,7 @@ namespace watcher {
|
||||||
}
|
}
|
||||||
|
|
||||||
protected start_command(): string[] {
|
protected start_command(): string[] {
|
||||||
return ["npm", "run", "sass", "--", "--watch"];
|
return ["npm", "run", "sass", "--", "--watch", ".:."];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue