@primate/core 0.8.3 → 0.8.4

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.
@@ -210,9 +210,14 @@ export default function frontend_module(init) {
210
210
  for (const view of views) {
211
211
  const { path } = view.debase(views_base, "/");
212
212
  contents += `export { default as ${await normalize(path)} }
213
- from "view:${path}";\n`;
213
+ from "view:${path}";\n`;
214
214
  }
215
- return { contents, resolveDir: app.root.path };
215
+ return {
216
+ contents,
217
+ resolveDir: app.root.path,
218
+ watchDirs: [views_base.path],
219
+ watchFiles: views.map(view => view.path),
220
+ };
216
221
  });
217
222
  const filter = new RegExp(`(${extensions.map(e => e.replace(".", "\\.")).join("|")})$`);
218
223
  build.onLoad({ filter }, async (args) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primate/core",
3
- "version": "0.8.3",
3
+ "version": "0.8.4",
4
4
  "description": "The universal web framework",
5
5
  "homepage": "https://primate.run",
6
6
  "bugs": "https://github.com/primate-run/primate/issues",
@@ -35,7 +35,7 @@
35
35
  "@rcompat/symbol": "^0.2.0",
36
36
  "@rcompat/type": "^0.17.0",
37
37
  "esbuild": "^0.28.0",
38
- "pema": "^0.8.0"
38
+ "pema": "^0.8.1"
39
39
  },
40
40
  "imports": {
41
41
  "#i18n/config": {