From 358706b55171a7e322f67ab9686f7a081f366ff3 Mon Sep 17 00:00:00 2001 From: Jun Shindo <46585162+jay-es@users.noreply.github.com> Date: Thu, 5 Jun 2025 19:13:26 +0900 Subject: [PATCH] fix(hmr): use monotonicDateNow for timestamp --- .github/pull_request_template.md | 2 +- guide/api-environment-instances.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 55d779e0..f055d864 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1 +1 @@ -resolve #1000 ←(`1000` の部分を実際の issue 番号に書き換えてください) +resolve #2000 diff --git a/guide/api-environment-instances.md b/guide/api-environment-instances.md index e737d52e..8c92541f 100644 --- a/guide/api-environment-instances.md +++ b/guide/api-environment-instances.md @@ -185,7 +185,7 @@ export class EnvironmentModuleGraph { invalidateModule( mod: EnvironmentModuleNode, seen: Set = new Set(), - timestamp: number = Date.now(), + timestamp: number = monotonicDateNow(), isHmr: boolean = false, ): void