Skip to content

Commit e09effc

Browse files
authored
fix live update of front matter (#1003)
1 parent a1ffaff commit e09effc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resolvers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export const builtins = new Map<string, string>([
6868
* them to any files referenced by static HTML.
6969
*/
7070
export async function getResolvers(page: MarkdownPage, {root, path}: {root: string; path: string}): Promise<Resolvers> {
71-
const hash = createHash("sha256").update(page.html);
71+
const hash = createHash("sha256").update(page.html).update(JSON.stringify(page.data));
7272
const assets = findAssets(page.html, path);
7373
const files = new Set<string>();
7474
const fileMethods = new Set<string>();

0 commit comments

Comments
 (0)