neex 0.6.8 → 0.6.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -164,7 +164,9 @@ function addDevCommands(program) {
|
|
|
164
164
|
stopOnError: options.stopOnError,
|
|
165
165
|
printOutput: options.output,
|
|
166
166
|
minimalOutput: options.minimal,
|
|
167
|
+
watch: watchPaths,
|
|
167
168
|
ignore: ignorePatterns,
|
|
169
|
+
ext: extensions,
|
|
168
170
|
delay: options.delay || 1000,
|
|
169
171
|
clearConsole: options.clear,
|
|
170
172
|
verbose: options.verbose,
|
package/dist/src/dev-runner.js
CHANGED
|
@@ -58,7 +58,7 @@ class DevRunner {
|
|
|
58
58
|
ignore: this.options.ignore,
|
|
59
59
|
ext: this.options.ext,
|
|
60
60
|
delay: this.options.delay,
|
|
61
|
-
verbose:
|
|
61
|
+
verbose: false // Always set to false to hide watcher logs
|
|
62
62
|
};
|
|
63
63
|
this.fileWatcher = new watcher_1.FileWatcher(watchOptions);
|
|
64
64
|
this.fileWatcher.on('change', (event) => {
|
|
@@ -68,10 +68,6 @@ class DevRunner {
|
|
|
68
68
|
});
|
|
69
69
|
}
|
|
70
70
|
async handleFileChange(event) {
|
|
71
|
-
const prefix = chalk_1.default.cyan(`[${this.options.runnerName}]`);
|
|
72
|
-
if (this.options.showInfo) {
|
|
73
|
-
logger_1.default.printLine(`${prefix} File changed: ${chalk_1.default.yellow(event.relativePath)}`, 'info');
|
|
74
|
-
}
|
|
75
71
|
if (this.options.clearConsole) {
|
|
76
72
|
console.clear();
|
|
77
73
|
}
|