adjust log levels of watcher
This commit is contained in:
parent
4c1f3fb8f6
commit
7f31566684
|
@ -14,18 +14,18 @@ Watch.prototype.start = function() {
|
||||||
var embarkConfig = JSON.parse(fs.readFileSync("embark.json"));
|
var embarkConfig = JSON.parse(fs.readFileSync("embark.json"));
|
||||||
|
|
||||||
this.watchAssets(embarkConfig, function() {
|
this.watchAssets(embarkConfig, function() {
|
||||||
self.logger.info('ready to watch asset changes');
|
self.logger.trace('ready to watch asset changes');
|
||||||
});
|
});
|
||||||
|
|
||||||
this.watchContracts(embarkConfig, function() {
|
this.watchContracts(embarkConfig, function() {
|
||||||
self.logger.info('ready to watch contract changes');
|
self.logger.trace('ready to watch contract changes');
|
||||||
});
|
});
|
||||||
|
|
||||||
this.watchConfigs(function() {
|
this.watchConfigs(function() {
|
||||||
self.logger.info('ready to watch config changes');
|
self.logger.trace('ready to watch config changes');
|
||||||
});
|
});
|
||||||
|
|
||||||
this.logger.info("done!");
|
this.logger.info("ready to watch changes");
|
||||||
};
|
};
|
||||||
|
|
||||||
Watch.prototype.watchAssets = function(embarkConfig, callback) {
|
Watch.prototype.watchAssets = function(embarkConfig, callback) {
|
||||||
|
@ -78,6 +78,7 @@ Watch.prototype.watchConfigs = function(callback) {
|
||||||
};
|
};
|
||||||
|
|
||||||
Watch.prototype.watchFiles = function(files, changeCallback, doneCallback) {
|
Watch.prototype.watchFiles = function(files, changeCallback, doneCallback) {
|
||||||
|
this.logger.trace('watchFiles');
|
||||||
this.logger.trace(files);
|
this.logger.trace(files);
|
||||||
|
|
||||||
var configWatcher = chokidar.watch(files, {
|
var configWatcher = chokidar.watch(files, {
|
||||||
|
|
Loading…
Reference in New Issue