chokibasic 1.0.4 → 1.0.6

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/package.json +2 -2
  2. package/src/watcher.js +6 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chokibasic",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "Basic chokidar watcher + pxpros + esbuild + sass + csso helpers",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -34,7 +34,7 @@
34
34
  "chokidar": "^5.0.0",
35
35
  "csso": "^5.0.5",
36
36
  "esbuild": "^0.27.3",
37
- "pxpros": "^1.0.0",
37
+ "pxpros": "^1.0.1",
38
38
  "sass": "^1.97.3"
39
39
  }
40
40
  }
package/src/watcher.js CHANGED
@@ -130,6 +130,7 @@ function createWatchers(rules, options = {}) {
130
130
  console.log(" patterns:", patterns);
131
131
  console.log(" baseDirs:", baseDirs);
132
132
  console.log(" ignored (applied in queue):", [...(opt.globalIgnored || []), ...(rule.ignored || [])]);
133
+ console.log("");
133
134
  }
134
135
 
135
136
  const pending = new Map();
@@ -182,13 +183,13 @@ function createWatchers(rules, options = {}) {
182
183
  binaryInterval: opt.binaryInterval,
183
184
  });
184
185
 
185
- watcher.on("ready", () => {
186
- console.log(`[${name}] ready`);
187
- });
186
+ // watcher.on("ready", () => {
187
+ // console.log(`[${name}] ready`);
188
+ // });
188
189
 
189
- watcher.on("add", (p) => queue("add", p));
190
+ // watcher.on("add", (p) => queue("add", p));
190
191
  watcher.on("change", (p) => queue("change", p));
191
- watcher.on("unlink", (p) => queue("unlink", p));
192
+ // watcher.on("unlink", (p) => queue("unlink", p));
192
193
  watcher.on("error", (err) => console.error(`[${name}] watch error:`, err));
193
194
 
194
195
  handles.push({