nativescript
Version:
Command-line interface for building NativeScript projects
21 lines • 687 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.WatchIgnoreListService = void 0;
const yok_1 = require("../common/yok");
class WatchIgnoreListService {
constructor() {
this.ignoreMap = {};
}
addFileToIgnoreList(filePath) {
this.ignoreMap[filePath] = true;
}
removeFileFromIgnoreList(filePath) {
this.ignoreMap[filePath] = false;
}
isFileInIgnoreList(filePath) {
return !!this.ignoreMap[filePath];
}
}
exports.WatchIgnoreListService = WatchIgnoreListService;
yok_1.injector.register("watchIgnoreListService", WatchIgnoreListService);
//# sourceMappingURL=watch-ignore-list-service.js.map
;