You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -21,7 +21,7 @@ English | [简体中文](./README.zh-CN.md)
21
21
22
22
Detect webpage updates and notify user to reload. support vite, umijs and webpack.
23
23
24
-
> Take the git commit hash( if not a git repository, use packaging time) as the version number, and write version into json file. The client polls the version of the server (visibilitychange event assistant), compares it with the local one, and if it is not the same, notifies the user to refresh the page.
24
+
> Take the git commit hash (also support package.json version、build timestamp) as the version number, and write version into json file. The client polls the version of the server (visibilitychange or focus event assistant), compares it with the local one, and if it is not the same, notifies the user to refresh the page (you can custom behavior).
@@ -21,7 +21,7 @@ English | [简体中文](./README.zh-CN.md)
21
21
22
22
Detect webpage updates and notify user to reload. support vite, umijs and webpack.
23
23
24
-
> Take the git commit hash( if not a git repository, use packaging time) as the version number, and write version into json file. The client polls the version of the server (visibilitychange event assistant), compares it with the local one, and if it is not the same, notifies the user to refresh the page.
24
+
> Take the git commit hash (also support package.json version、build timestamp) as the version number, and write version into json file. The client polls the version of the server (visibilitychange or focus event assistant), compares it with the local one, and if it is not the same, notifies the user to refresh the page (you can custom behavior).
@@ -21,7 +21,7 @@ English | [简体中文](./README.zh-CN.md)
21
21
22
22
Detect webpage updates and notify user to reload. support vite, umijs and webpack.
23
23
24
-
> Take the git commit hash( if not a git repository, use packaging time) as the version number, and write version into json file. The client polls the version of the server (visibilitychange event assistant), compares it with the local one, and if it is not the same, notifies the user to refresh the page.
24
+
> Take the git commit hash (also support package.json version、build timestamp) as the version number, and write version into json file. The client polls the version of the server (visibilitychange or focus event assistant), compares it with the local one, and if it is not the same, notifies the user to refresh the page (you can custom behavior).
@@ -21,7 +21,7 @@ English | [简体中文](./README.zh-CN.md)
21
21
22
22
Detect webpage updates and notify user to reload. support vite, umijs and webpack.
23
23
24
-
> Take the git commit hash( if not a git repository, use packaging time) as the version number, and write version into json file. The client polls the version of the server (visibilitychange event assistant), compares it with the local one, and if it is not the same, notifies the user to refresh the page.
24
+
> Take the git commit hash (also support package.json version、build timestamp) as the version number, and write version into json file. The client polls the version of the server (visibilitychange or focus event assistant), compares it with the local one, and if it is not the same, notifies the user to refresh the page (you can custom behavior).
@@ -21,7 +21,7 @@ English | [简体中文](./README.zh-CN.md)
21
21
22
22
Detect webpage updates and notify user to reload. support vite, umijs and webpack.
23
23
24
-
> Take the git commit hash( if not a git repository, use packaging time) as the version number, and write version into json file. The client polls the version of the server (visibilitychange event assistant), compares it with the local one, and if it is not the same, notifies the user to refresh the page.
24
+
> Take the git commit hash (also support package.json version、build timestamp) as the version number, and write version into json file. The client polls the version of the server (visibilitychange or focus event assistant), compares it with the local one, and if it is not the same, notifies the user to refresh the page (you can custom behavior).
@@ -21,7 +21,7 @@ English | [简体中文](./README.zh-CN.md)
21
21
22
22
Detect webpage updates and notify user to reload. support vite, umijs and webpack.
23
23
24
-
> Take the git commit hash( if not a git repository, use packaging time) as the version number, and write version into json file. The client polls the version of the server (visibilitychange event assistant), compares it with the local one, and if it is not the same, notifies the user to refresh the page.
24
+
> Take the git commit hash (also support package.json version、build timestamp) as the version number, and write version into json file. The client polls the version of the server (visibilitychange or focus event assistant), compares it with the local one, and if it is not the same, notifies the user to refresh the page (you can custom behavior).
0 commit comments