ec-web 0.0.20 → 0.0.21

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/ecweb-wrapper.cjs CHANGED
@@ -31,7 +31,11 @@ function needsBuild() {
31
31
  const fullPath = path.join(dir, entry.name);
32
32
  if (entry.isDirectory()) {
33
33
  walkDir(fullPath);
34
- } else if (entry.isFile() && /\.(ts|tsx|json)$/.test(entry.name)) {
34
+ // Static assets are part of the runtime too. In particular,
35
+ // basic-settings.js may change without touching a TypeScript source;
36
+ // leave the wrapper on an old dist tree in that case would serve stale
37
+ // UI code (and hide newly added API calls) after a normal restart.
38
+ } else if (entry.isFile() && /\.(ts|tsx|json|js|css|html)$/.test(entry.name)) {
35
39
  const stat = fs.statSync(fullPath);
36
40
  if (stat.mtimeMs > newestSrcMtime) {
37
41
  newestSrcMtime = stat.mtimeMs;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ec-web",
3
- "version": "0.0.20",
3
+ "version": "0.0.21",
4
4
  "description": "Web console and monitoring dashboard for EvolCore",
5
5
  "type": "module",
6
6
  "bin": {