@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.
- package/index.js +2 -1
- 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
|
});
|