anubis-ui 1.0.11 → 1.0.12

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 +3 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -26,6 +26,9 @@ function AnubisUI() {
26
26
  server.watcher.on('change', async (file) => {
27
27
  console.log({ file });
28
28
 
29
+ // _ Prevent self change loop
30
+ if (!file.endsWith('_anubis.vue')) { return }
31
+
29
32
  console.time(`${logPrefix} Refreshed in`);
30
33
  await initClassExtraction();
31
34
  console.timeEnd(`${logPrefix} Refreshed in`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anubis-ui",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "description": "Class-based css generator",
5
5
  "main": "index.js",
6
6
  "keywords": [