Compare commits

..

4 Commits

4 changed files with 14 additions and 2 deletions

View File

@@ -1,5 +1,16 @@
# Changelog
## 2024-12-04 - 2.0.32 - fix(core)
Minor improvements and dependency updates
- Updated dependencies for improved performance
- Refined TypeScript project watching logic
## 2024-12-04 - 2.0.31 - fix(Watcher)
Add missing logger message in Watcher class for start method
- Added a log message when starting a watcher to track file path being watched
## 2024-12-04 - 2.0.30 - fix(cli)
Fix incorrect watch mode and update npm test command.

View File

@@ -1,6 +1,6 @@
{
"name": "@git.zone/tswatch",
"version": "2.0.30",
"version": "2.0.32",
"private": false,
"description": "watch typescript projects during development",
"main": "dist_ts/index.js",

View File

@@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@git.zone/tswatch',
version: '2.0.30',
version: '2.0.32',
description: 'watch typescript projects during development'
}

View File

@@ -31,6 +31,7 @@ export class Watcher {
* start the file
*/
public async start() {
logger.log('info', `trying to start watcher for ${this.options.filePathToWatch}`);
await this.setupCleanup();
console.log(`Looking at ${this.options.filePathToWatch} for changes`);
this.smartchokWatcher.add([this.options.filePathToWatch]); // __dirname refers to the directory of this very file