neex 0.6.7 → 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.
|
@@ -143,11 +143,13 @@ function addDevCommands(program) {
|
|
|
143
143
|
console.log(chalk_1.default.blue(` ${figures_1.default.arrowRight} Target: ${chalk_1.default.cyan(file)}`));
|
|
144
144
|
console.log(chalk_1.default.blue(` ${figures_1.default.arrowRight} Runtime: ${chalk_1.default.cyan(fileExtension === '.ts' || fileExtension === '.mts' || fileExtension === '.cts' ? 'TypeScript' : 'JavaScript')}`));
|
|
145
145
|
console.log(chalk_1.default.blue(` ${figures_1.default.arrowRight} Watch paths: ${chalk_1.default.cyan(watchPaths.join(', '))}`));
|
|
146
|
+
console.log(chalk_1.default.blue(` ${figures_1.default.arrowRight} Extensions: ${chalk_1.default.cyan(extensions.join(', '))}`));
|
|
146
147
|
console.log(chalk_1.default.blue(` ${figures_1.default.arrowRight} Restart delay: ${chalk_1.default.cyan(options.delay || 1000)}ms`));
|
|
147
148
|
console.log(chalk_1.default.blue(` ${figures_1.default.arrowRight} Clear console: ${chalk_1.default.cyan(options.clear ? 'Yes' : 'No')}`));
|
|
148
149
|
if (options.verbose) {
|
|
149
150
|
console.log(chalk_1.default.blue(`${figures_1.default.info} neex dev: Verbose mode enabled - showing detailed logs`));
|
|
150
151
|
}
|
|
152
|
+
console.log(chalk_1.default.green(`${figures_1.default.tick} neex dev: Starting file watcher and process manager...`));
|
|
151
153
|
console.log(chalk_1.default.green(`${figures_1.default.tick} neex dev: Launching ${chalk_1.default.cyan(path.basename(file))} with auto-restart capability...`));
|
|
152
154
|
console.log(chalk_1.default.blue(`${figures_1.default.info} neex dev: Press Ctrl+C to stop the development server`));
|
|
153
155
|
console.log(chalk_1.default.gray(`${'='.repeat(60)}`));
|
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
|
}
|