Fixed the file watcher for SASS files

Signed-off-by: WolverinDEV <git@teaspeak.de>
canary
WolverinDEV 2019-12-19 19:15:44 +01:00
parent d94e846021
commit 6932b609e1
No known key found for this signature in database
GPG Key ID: 77A6C15085150EEB
1 changed files with 7 additions and 2 deletions

View File

@ -805,7 +805,12 @@ namespace watcher {
if(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() {
@ -842,7 +847,7 @@ namespace watcher {
}
protected start_command(): string[] {
return ["npm", "run", "sass", "--", "--watch"];
return ["npm", "run", "sass", "--", "--watch", ".:."];
}
}
}