@bobfrankston/extractids 1.0.18 → 1.0.19

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.
Files changed (2) hide show
  1. package/index.js +2 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -155,7 +155,8 @@ if (watchMode) {
155
155
  : ['index.html', 'default.html', 'default.htm'];
156
156
  let debounceTimer;
157
157
  const watcher = chokidar.watch([...htmlFilesToWatch, '**/*.css'], { ignored: /node_modules/ });
158
- watcher.on('change', () => {
158
+ watcher.on('change', (path) => {
159
+ console.log(`[extractids ${timestamp()}] Change detected: ${path}`);
159
160
  clearTimeout(debounceTimer);
160
161
  debounceTimer = setTimeout(() => updateTypesFile(specifiedHtmlFile), 100);
161
162
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bobfrankston/extractids",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "description": "Extracd html and css as types",
5
5
  "main": "index.js",
6
6
  "bin": {