neex 0.6.44 → 0.6.45

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.
@@ -32,7 +32,7 @@ const watcher_1 = require("./watcher");
32
32
  const runner_1 = require("./runner");
33
33
  const chalk_1 = __importDefault(require("chalk"));
34
34
  const figures_1 = __importDefault(require("figures"));
35
- const logger_1 = __importDefault(require("./logger"));
35
+ const logger_process_1 = require("./logger-process");
36
36
  const path = __importStar(require("path"));
37
37
  const fs = __importStar(require("fs/promises"));
38
38
  class BuildManager {
@@ -98,7 +98,7 @@ class BuildManager {
98
98
  async handleFileChange(event) {
99
99
  if (this.options.showInfo) {
100
100
  const prefix = chalk_1.default.cyan(`[${this.options.runnerName}]`);
101
- logger_1.default.printLine(`${prefix} File changed: ${chalk_1.default.yellow(event.relativePath)}`, 'info');
101
+ logger_process_1.logger.printLine(`${prefix} File changed: ${chalk_1.default.yellow(event.relativePath)}`, 'info');
102
102
  }
103
103
  await this.rebuild();
104
104
  }
@@ -108,7 +108,7 @@ class BuildManager {
108
108
  }
109
109
  catch (error) {
110
110
  if (this.options.showInfo) {
111
- logger_1.default.printLine(`Failed to create output directory: ${error.message}`, 'error');
111
+ logger_process_1.logger.printLine(`Failed to create output directory: ${error.message}`, 'error');
112
112
  }
113
113
  throw error;
114
114
  }
@@ -121,12 +121,12 @@ class BuildManager {
121
121
  await fs.rm(this.options.outputDir, { recursive: true, force: true });
122
122
  if (this.options.showInfo) {
123
123
  const prefix = chalk_1.default.cyan(`[${this.options.runnerName}]`);
124
- logger_1.default.printLine(`${prefix} Cleaned output directory: ${chalk_1.default.yellow(this.options.outputDir)}`, 'info');
124
+ logger_process_1.logger.printLine(`${prefix} Cleaned output directory: ${chalk_1.default.yellow(this.options.outputDir)}`, 'info');
125
125
  }
126
126
  }
127
127
  catch (error) {
128
128
  if (this.options.showInfo) {
129
- logger_1.default.printLine(`Failed to clean output directory: ${error.message}`, 'error');
129
+ logger_process_1.logger.printLine(`Failed to clean output directory: ${error.message}`, 'error');
130
130
  }
131
131
  throw error;
132
132
  }
@@ -252,8 +252,8 @@ class BuildManager {
252
252
  if (this.options.watch) {
253
253
  if (this.options.showInfo) {
254
254
  const prefix = chalk_1.default.cyan(`[${this.options.runnerName}]`);
255
- logger_1.default.printLine(`${prefix} Build completed. Watching for changes...`, 'info');
256
- logger_1.default.printLine(`${prefix} Press ${chalk_1.default.cyan('Ctrl+C')} to stop`, 'info');
255
+ logger_process_1.logger.printLine(`${prefix} Build completed. Watching for changes...`, 'info');
256
+ logger_process_1.logger.printLine(`${prefix} Press ${chalk_1.default.cyan('Ctrl+C')} to stop`, 'info');
257
257
  }
258
258
  }
259
259
  }
@@ -263,7 +263,7 @@ class BuildManager {
263
263
  }
264
264
  if (this.options.showInfo) {
265
265
  const prefix = chalk_1.default.cyan(`[${this.options.runnerName}]`);
266
- logger_1.default.printLine(`${prefix} Rebuilding due to file changes...`, 'info');
266
+ logger_process_1.logger.printLine(`${prefix} Rebuilding due to file changes...`, 'info');
267
267
  }
268
268
  // Stop current processes
269
269
  if (this.runner) {
@@ -279,7 +279,7 @@ class BuildManager {
279
279
  await this.runBuild();
280
280
  if (this.options.showInfo) {
281
281
  const prefix = chalk_1.default.cyan(`[${this.options.runnerName}]`);
282
- logger_1.default.printLine(`${prefix} Rebuild completed. Watching for changes...`, 'info');
282
+ logger_process_1.logger.printLine(`${prefix} Rebuild completed. Watching for changes...`, 'info');
283
283
  }
284
284
  else {
285
285
  // Show rebuild completion even without showInfo for watch mode
@@ -292,7 +292,7 @@ class BuildManager {
292
292
  }
293
293
  if (this.options.showInfo) {
294
294
  const prefix = chalk_1.default.cyan(`[${this.options.runnerName}]`);
295
- logger_1.default.printLine(`${prefix} Stopping build process...`, 'info');
295
+ logger_process_1.logger.printLine(`${prefix} Stopping build process...`, 'info');
296
296
  }
297
297
  // Stop file watcher
298
298
  if (this.fileWatcher) {
@@ -306,9 +306,9 @@ class BuildManager {
306
306
  const prefix = chalk_1.default.cyan(`[${this.options.runnerName}]`);
307
307
  const uptime = Math.floor((Date.now() - this.startTime.getTime()) / 1000);
308
308
  const uptimeStr = this.formatUptime(uptime);
309
- logger_1.default.printLine(`${prefix} Build process stopped after ${uptimeStr}`, 'info');
309
+ logger_process_1.logger.printLine(`${prefix} Build process stopped after ${uptimeStr}`, 'info');
310
310
  if (this.buildCount > 0) {
311
- logger_1.default.printLine(`${prefix} Total builds: ${this.buildCount}`, 'info');
311
+ logger_process_1.logger.printLine(`${prefix} Total builds: ${this.buildCount}`, 'info');
312
312
  }
313
313
  }
314
314
  }
@@ -9,7 +9,7 @@ const watcher_1 = require("./watcher");
9
9
  const runner_1 = require("./runner");
10
10
  const chalk_1 = __importDefault(require("chalk"));
11
11
  const figures_1 = __importDefault(require("figures"));
12
- const logger_1 = __importDefault(require("./logger"));
12
+ const logger_process_1 = require("./logger-process");
13
13
  class DevRunner {
14
14
  constructor(options) {
15
15
  this.commands = [];
@@ -70,7 +70,7 @@ class DevRunner {
70
70
  async handleFileChange(event) {
71
71
  const prefix = chalk_1.default.cyan(`[${this.options.runnerName}]`);
72
72
  if (this.options.showInfo) {
73
- logger_1.default.printLine(`${prefix} File changed: ${chalk_1.default.yellow(event.relativePath)}`, 'info');
73
+ logger_process_1.logger.printLine(`${prefix} File changed: ${chalk_1.default.yellow(event.relativePath)}`, 'info');
74
74
  }
75
75
  if (this.options.clearConsole) {
76
76
  console.clear();
@@ -103,7 +103,7 @@ class DevRunner {
103
103
  }
104
104
  catch (error) {
105
105
  if (this.options.showInfo) {
106
- logger_1.default.printLine(`Execution failed: ${error.message}`, 'error');
106
+ logger_process_1.logger.printLine(`Execution failed: ${error.message}`, 'error');
107
107
  }
108
108
  return [];
109
109
  }
@@ -157,14 +157,14 @@ class DevRunner {
157
157
  // Run initial commands
158
158
  const prefix = chalk_1.default.cyan(`[${this.options.runnerName}]`);
159
159
  if (this.options.showInfo) {
160
- logger_1.default.printLine(`${prefix} Starting development server...`, 'info');
160
+ logger_process_1.logger.printLine(`${prefix} Starting development server...`, 'info');
161
161
  }
162
162
  await this.runCommands();
163
163
  // Set up graceful shutdown
164
164
  this.setupGracefulShutdown();
165
165
  if (this.options.showInfo) {
166
- logger_1.default.printLine(`${prefix} Development server started. Watching for changes...`, 'info');
167
- logger_1.default.printLine(`${prefix} Press ${chalk_1.default.cyan('Ctrl+C')} to stop`, 'info');
166
+ logger_process_1.logger.printLine(`${prefix} Development server started. Watching for changes...`, 'info');
167
+ logger_process_1.logger.printLine(`${prefix} Press ${chalk_1.default.cyan('Ctrl+C')} to stop`, 'info');
168
168
  }
169
169
  }
170
170
  async restart() {
@@ -173,7 +173,7 @@ class DevRunner {
173
173
  return;
174
174
  }
175
175
  if (this.options.showInfo) {
176
- logger_1.default.printLine(`${prefix} Restarting due to file changes...`, 'info');
176
+ logger_process_1.logger.printLine(`${prefix} Restarting due to file changes...`, 'info');
177
177
  }
178
178
  this.restartCount++;
179
179
  // Stop current processes
@@ -187,7 +187,7 @@ class DevRunner {
187
187
  // Run commands again
188
188
  await this.runCommands();
189
189
  if (this.options.showInfo) {
190
- logger_1.default.printLine(`${prefix} Restart completed. Watching for changes...`, 'info');
190
+ logger_process_1.logger.printLine(`${prefix} Restart completed. Watching for changes...`, 'info');
191
191
  }
192
192
  }
193
193
  async stop() {
@@ -3,46 +3,15 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.LoggerProcess = void 0;
7
- // src/.logger-process.ts
6
+ exports.logger = void 0;
8
7
  const chalk_1 = __importDefault(require("chalk"));
9
- class LoggerProcess {
10
- constructor(command) {
11
- this.command = command;
12
- this.color = this.generateColor(command);
13
- this.prefix = `${this.color(command)}: `;
14
- }
15
- generateColor(command) {
16
- const colors = [
17
- chalk_1.default.cyan,
18
- chalk_1.default.magenta,
19
- chalk_1.default.blue,
20
- chalk_1.default.yellow,
21
- chalk_1.default.green,
22
- chalk_1.default.red
23
- ];
24
- let hash = 0;
25
- for (let i = 0; i < command.length; i++) {
26
- hash = (hash << 5) - hash + command.charCodeAt(i);
27
- hash |= 0;
28
- }
29
- return colors[Math.abs(hash) % colors.length];
30
- }
31
- log(data) {
32
- this.print(data.toString(), process.stdout);
33
- }
34
- error(data) {
35
- this.print(data.toString(), process.stderr, chalk_1.default.red);
36
- }
37
- print(data, stream, colorizer) {
38
- const lines = data.split('\n').filter(line => line.trim().length > 0);
39
- for (const line of lines) {
40
- const coloredLine = colorizer ? colorizer(line) : line;
41
- stream.write(`${this.prefix}${coloredLine}\n`);
42
- }
43
- }
44
- info(message) {
45
- console.log(`${this.prefix}${chalk_1.default.blue(message)}`);
46
- }
47
- }
48
- exports.LoggerProcess = LoggerProcess;
8
+ exports.logger = {
9
+ printLine: (message, level = "info") => {
10
+ const prefix = {
11
+ info: chalk_1.default.blue("i"),
12
+ warn: chalk_1.default.yellow("!"),
13
+ error: chalk_1.default.red("x"),
14
+ }[level];
15
+ console.log(`${prefix} ${message}`);
16
+ },
17
+ };
@@ -32,7 +32,7 @@ const watcher_1 = require("./watcher");
32
32
  const runner_1 = require("./runner");
33
33
  const chalk_1 = __importDefault(require("chalk"));
34
34
  const figures_1 = __importDefault(require("figures"));
35
- const logger_1 = __importDefault(require("./logger"));
35
+ const logger_process_1 = require("./logger-process");
36
36
  const os = __importStar(require("os"));
37
37
  class StartManager {
38
38
  constructor(options) {
@@ -108,7 +108,7 @@ class StartManager {
108
108
  async handleFileChange(event) {
109
109
  const prefix = chalk_1.default.cyan(`[${this.options.runnerName}]`);
110
110
  if (this.options.showInfo) {
111
- logger_1.default.printLine(`${prefix} File changed: ${chalk_1.default.yellow(event.relativePath)}`, 'info');
111
+ logger_process_1.logger.printLine(`${prefix} File changed: ${chalk_1.default.yellow(event.relativePath)}`, 'info');
112
112
  }
113
113
  await this.gracefulRestart();
114
114
  }
@@ -165,7 +165,7 @@ class StartManager {
165
165
  catch (error) {
166
166
  this.crashCount++;
167
167
  if (this.options.showInfo) {
168
- logger_1.default.printLine(`Application crashed: ${error.message}`, 'error');
168
+ logger_process_1.logger.printLine(`Application crashed: ${error.message}`, 'error');
169
169
  }
170
170
  // Check if we should restart
171
171
  if (this.shouldRestart()) {
@@ -183,8 +183,8 @@ class StartManager {
183
183
  async handleCrash() {
184
184
  const prefix = chalk_1.default.cyan(`[${this.options.runnerName}]`);
185
185
  if (this.options.showInfo) {
186
- logger_1.default.printLine(`${prefix} ${chalk_1.default.red(`${figures_1.default.cross} Application crashed`)}`, 'error');
187
- logger_1.default.printLine(`${prefix} ${chalk_1.default.yellow(`${figures_1.default.warning} Attempting restart in ${this.options.restartDelay}ms...`)}`, 'info');
186
+ logger_process_1.logger.printLine(`${prefix} ${chalk_1.default.red(`${figures_1.default.cross} Application crashed`)}`, 'error');
187
+ logger_process_1.logger.printLine(`${prefix} ${chalk_1.default.yellow(`${figures_1.default.warning} Attempting restart in ${this.options.restartDelay}ms...`)}`, 'info');
188
188
  }
189
189
  // Wait before restarting
190
190
  await new Promise(resolve => setTimeout(resolve, this.options.restartDelay));
@@ -263,12 +263,12 @@ class StartManager {
263
263
  // Check memory limit
264
264
  if (this.options.memoryLimit && this.processStats.memoryUsage > this.options.memoryLimit) {
265
265
  const prefix = chalk_1.default.cyan(`[${this.options.runnerName}]`);
266
- logger_1.default.printLine(`${prefix} ${chalk_1.default.red(`${figures_1.default.warning} Memory limit exceeded: ${this.processStats.memoryUsage}MB > ${this.options.memoryLimit}MB`)}`, 'warn');
266
+ logger_process_1.logger.printLine(`${prefix} ${chalk_1.default.red(`${figures_1.default.warning} Memory limit exceeded: ${this.processStats.memoryUsage}MB > ${this.options.memoryLimit}MB`)}`, 'warn');
267
267
  }
268
268
  // Log stats every 30 seconds in verbose mode
269
269
  if (this.options.verbose && this.processStats.uptime % 30 === 0) {
270
270
  const prefix = chalk_1.default.cyan(`[${this.options.runnerName}]`);
271
- logger_1.default.printLine(`${prefix} ${chalk_1.default.gray(`Stats: ${this.processStats.memoryUsage}MB memory, ${this.formatUptime(this.processStats.uptime)} uptime`)}`, 'info');
271
+ logger_process_1.logger.printLine(`${prefix} ${chalk_1.default.gray(`Stats: ${this.processStats.memoryUsage}MB memory, ${this.formatUptime(this.processStats.uptime)} uptime`)}`, 'info');
272
272
  }
273
273
  }, 1000);
274
274
  }
@@ -290,17 +290,17 @@ class StartManager {
290
290
  // Start application
291
291
  const prefix = chalk_1.default.cyan(`[${this.options.runnerName}]`);
292
292
  if (this.options.showInfo) {
293
- logger_1.default.printLine(`${prefix} Starting ${this.options.processName}...`, 'info');
293
+ logger_process_1.logger.printLine(`${prefix} Starting ${this.options.processName}...`, 'info');
294
294
  }
295
295
  await this.startApplication();
296
296
  // Set up graceful shutdown
297
297
  this.setupGracefulShutdown();
298
298
  if (this.options.showInfo) {
299
- logger_1.default.printLine(`${prefix} ${this.options.processName} is running in ${this.options.environment} mode`, 'info');
299
+ logger_process_1.logger.printLine(`${prefix} ${this.options.processName} is running in ${this.options.environment} mode`, 'info');
300
300
  if (this.options.watch) {
301
- logger_1.default.printLine(`${prefix} Watching for changes...`, 'info');
301
+ logger_process_1.logger.printLine(`${prefix} Watching for changes...`, 'info');
302
302
  }
303
- logger_1.default.printLine(`${prefix} Press ${chalk_1.default.cyan('Ctrl+C')} to stop`, 'info');
303
+ logger_process_1.logger.printLine(`${prefix} Press ${chalk_1.default.cyan('Ctrl+C')} to stop`, 'info');
304
304
  }
305
305
  }
306
306
  async gracefulRestart() {
@@ -310,13 +310,13 @@ class StartManager {
310
310
  }
311
311
  if (!this.shouldRestart()) {
312
312
  if (this.options.showInfo) {
313
- logger_1.default.printLine(`${prefix} ${chalk_1.default.red(`${figures_1.default.cross} Max restarts reached (${this.options.maxRestarts}). Stopping application.`)}`, 'error');
313
+ logger_process_1.logger.printLine(`${prefix} ${chalk_1.default.red(`${figures_1.default.cross} Max restarts reached (${this.options.maxRestarts}). Stopping application.`)}`, 'error');
314
314
  }
315
315
  await this.stop();
316
316
  return;
317
317
  }
318
318
  if (this.options.showInfo) {
319
- logger_1.default.printLine(`${prefix} ${chalk_1.default.yellow(`${figures_1.default.warning} Gracefully restarting ${this.options.processName}...`)}`, 'info');
319
+ logger_process_1.logger.printLine(`${prefix} ${chalk_1.default.yellow(`${figures_1.default.warning} Gracefully restarting ${this.options.processName}...`)}`, 'info');
320
320
  }
321
321
  this.restartCount++;
322
322
  this.lastRestartTime = new Date();
@@ -331,7 +331,7 @@ class StartManager {
331
331
  // Start application again
332
332
  await this.startApplication();
333
333
  if (this.options.showInfo) {
334
- logger_1.default.printLine(`${prefix} ${chalk_1.default.green(`${figures_1.default.tick} ${this.options.processName} restarted successfully`)}`, 'info');
334
+ logger_process_1.logger.printLine(`${prefix} ${chalk_1.default.green(`${figures_1.default.tick} ${this.options.processName} restarted successfully`)}`, 'info');
335
335
  }
336
336
  }
337
337
  async stop() {
@@ -340,7 +340,7 @@ class StartManager {
340
340
  return;
341
341
  }
342
342
  if (this.options.showInfo) {
343
- logger_1.default.printLine(`${prefix} ${chalk_1.default.yellow(`${figures_1.default.warning} Stopping ${this.options.processName}...`)}`, 'info');
343
+ logger_process_1.logger.printLine(`${prefix} ${chalk_1.default.yellow(`${figures_1.default.warning} Stopping ${this.options.processName}...`)}`, 'info');
344
344
  }
345
345
  this.isRunning = false;
346
346
  // Stop file watcher
@@ -355,8 +355,8 @@ class StartManager {
355
355
  const uptime = Math.floor((Date.now() - this.startTime.getTime()) / 1000);
356
356
  const uptimeStr = this.formatUptime(uptime);
357
357
  if (this.options.showInfo) {
358
- logger_1.default.printLine(`${prefix} ${chalk_1.default.green(`${figures_1.default.tick} ${this.options.processName} stopped successfully`)}`, 'info');
359
- logger_1.default.printLine(`${prefix} Final stats: ${uptimeStr} uptime, ${this.restartCount} restarts, ${this.crashCount} crashes`, 'info');
358
+ logger_process_1.logger.printLine(`${prefix} ${chalk_1.default.green(`${figures_1.default.tick} ${this.options.processName} stopped successfully`)}`, 'info');
359
+ logger_process_1.logger.printLine(`${prefix} Final stats: ${uptimeStr} uptime, ${this.restartCount} restarts, ${this.crashCount} crashes`, 'info');
360
360
  }
361
361
  }
362
362
  setupGracefulShutdown() {
@@ -32,17 +32,7 @@ const fs = __importStar(require("fs"));
32
32
  const path = __importStar(require("path"));
33
33
  const events_1 = require("events");
34
34
  const chalk_1 = __importDefault(require("chalk"));
35
- // A simple, self-contained logger for this module.
36
- const logger = {
37
- printLine: (message, level = 'info') => {
38
- const prefix = {
39
- info: chalk_1.default.blue('i'),
40
- warn: chalk_1.default.yellow('!'),
41
- error: chalk_1.default.red('x'),
42
- }[level];
43
- console.log(`${prefix} ${message}`);
44
- },
45
- };
35
+ const logger_process_1 = require("./logger-process");
46
36
  class FileWatcher extends events_1.EventEmitter {
47
37
  constructor(options) {
48
38
  super();
@@ -131,7 +121,7 @@ class FileWatcher extends events_1.EventEmitter {
131
121
  try {
132
122
  const absolutePath = path.resolve(dirPath);
133
123
  if (this.options.verbose) {
134
- logger.printLine(`Watching directory: ${chalk_1.default.cyan(absolutePath)}`, 'info');
124
+ logger_process_1.logger.printLine(`Watching directory: ${chalk_1.default.cyan(absolutePath)}`, 'info');
135
125
  }
136
126
  const watcher = fs.watch(absolutePath, { recursive: true }, async (eventType, filename) => {
137
127
  if (!filename)
@@ -149,7 +139,7 @@ class FileWatcher extends events_1.EventEmitter {
149
139
  }
150
140
  catch (error) {
151
141
  if (this.options.verbose) {
152
- logger.printLine(`Failed to watch directory ${dirPath}: ${error.message}`, 'warn');
142
+ logger_process_1.logger.printLine(`Failed to watch directory ${dirPath}: ${error.message}`, 'warn');
153
143
  }
154
144
  }
155
145
  }
@@ -163,7 +153,7 @@ class FileWatcher extends events_1.EventEmitter {
163
153
  return;
164
154
  }
165
155
  if (this.options.verbose) {
166
- logger.printLine(`Watching file: ${chalk_1.default.cyan(absolutePath)}`, 'info');
156
+ logger_process_1.logger.printLine(`Watching file: ${chalk_1.default.cyan(absolutePath)}`, 'info');
167
157
  }
168
158
  const watcher = fs.watch(absolutePath, (eventType) => {
169
159
  this.handleFileChange(absolutePath, eventType);
@@ -173,13 +163,13 @@ class FileWatcher extends events_1.EventEmitter {
173
163
  }
174
164
  catch (error) {
175
165
  if (this.options.verbose) {
176
- logger.printLine(`Failed to watch file ${filePath}: ${error.message}`, 'warn');
166
+ logger_process_1.logger.printLine(`Failed to watch file ${filePath}: ${error.message}`, 'warn');
177
167
  }
178
168
  }
179
169
  }
180
170
  handleFileChange(filePath, eventType) {
181
171
  if (this.options.verbose) {
182
- logger.printLine(`File ${eventType}: ${chalk_1.default.yellow(path.relative(process.cwd(), filePath))}`, 'info');
172
+ logger_process_1.logger.printLine(`File ${eventType}: ${chalk_1.default.yellow(path.relative(process.cwd(), filePath))}`, 'info');
183
173
  }
184
174
  // Debounce file changes
185
175
  if (this.debounceTimer) {
@@ -198,7 +188,7 @@ class FileWatcher extends events_1.EventEmitter {
198
188
  return;
199
189
  }
200
190
  this.isWatching = true;
201
- logger.printLine('Starting file watcher...', 'info');
191
+ logger_process_1.logger.printLine('Starting file watcher...', 'info');
202
192
  for (const watchPath of this.options.watch) {
203
193
  const absolutePath = path.resolve(watchPath);
204
194
  try {
@@ -211,20 +201,20 @@ class FileWatcher extends events_1.EventEmitter {
211
201
  }
212
202
  }
213
203
  catch (error) {
214
- logger.printLine(`Cannot watch ${watchPath}: ${error.message}`, 'warn');
204
+ logger_process_1.logger.printLine(`Cannot watch ${watchPath}: ${error.message}`, 'warn');
215
205
  }
216
206
  }
217
207
  const watchedCount = this.watchers.length;
218
- logger.printLine(`File watcher started. Monitoring ${chalk_1.default.green(watchedCount)} locations`, 'info');
208
+ logger_process_1.logger.printLine(`File watcher started. Monitoring ${chalk_1.default.green(watchedCount)} locations`, 'info');
219
209
  if (this.options.ext && this.options.ext.length > 0) {
220
- logger.printLine(`Watching extensions: ${chalk_1.default.cyan(this.options.ext.join(', '))}`, 'info');
210
+ logger_process_1.logger.printLine(`Watching extensions: ${chalk_1.default.cyan(this.options.ext.join(', '))}`, 'info');
221
211
  }
222
212
  }
223
213
  stop() {
224
214
  if (!this.isWatching) {
225
215
  return;
226
216
  }
227
- logger.printLine('Stopping file watcher...', 'info');
217
+ logger_process_1.logger.printLine('Stopping file watcher...', 'info');
228
218
  this.watchers.forEach(watcher => {
229
219
  try {
230
220
  watcher.close();
@@ -240,7 +230,7 @@ class FileWatcher extends events_1.EventEmitter {
240
230
  clearTimeout(this.debounceTimer);
241
231
  this.debounceTimer = null;
242
232
  }
243
- logger.printLine('File watcher stopped', 'info');
233
+ logger_process_1.logger.printLine('File watcher stopped', 'info');
244
234
  }
245
235
  isActive() {
246
236
  return this.isWatching;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "neex",
3
- "version": "0.6.44",
3
+ "version": "0.6.45",
4
4
  "description": "The Modern Build System for Polyrepo-in-Monorepo Architecture",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",