Skip to content

Commit

Permalink
fix html autoreload in corner case
Browse files Browse the repository at this point in the history
  • Loading branch information
dmail committed Nov 27, 2024
1 parent b814101 commit b0d71ee
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion dist/jsenv_core.js
Original file line number Diff line number Diff line change
Expand Up @@ -20122,7 +20122,7 @@ const jsenvPluginAutoreloadServer = ({
}
if (
urlInfo.data.hotDecline ||
urlInfo.firstReference?.type === "http_request"
urlInfo.lastReference?.type === "http_request"
) {
return {
declined: true,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsenv/core",
"version": "39.7.0",
"version": "39.7.1",
"description": "Tool to develop, test and build js projects",
"license": "MIT",
"author": {
Expand Down
2 changes: 1 addition & 1 deletion packages/related/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsenv/cli",
"version": "0.2.16",
"version": "0.2.17",
"description": "Command Line Interface for jsenv",
"license": "MIT",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/related/cli/template-node-package/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"devDependencies": {
"@jsenv/assert": "4.4.2",
"@jsenv/core": "39.7.0",
"@jsenv/core": "39.7.1",
"@jsenv/eslint-config-relax": "1.3.4",
"@jsenv/test": "3.5.29",
"eslint": "9.15.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/related/cli/template-web-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@babel/plugin-syntax-import-attributes": "7.26.0",
"@jsenv/custom-elements-redefine": "0.0.1",
"@jsenv/assert": "4.4.2",
"@jsenv/core": "39.7.0",
"@jsenv/core": "39.7.1",
"@jsenv/plugin-bundling": "2.7.19",
"@jsenv/plugin-minification": "1.5.11",
"@jsenv/eslint-config-relax": "1.3.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/related/cli/template-web-preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@babel/plugin-syntax-import-attributes": "7.26.0",
"@babel/plugin-transform-react-jsx": "7.25.9",
"@jsenv/assert": "4.4.2",
"@jsenv/core": "39.7.0",
"@jsenv/core": "39.7.1",
"@jsenv/plugin-preact": "1.6.29",
"@jsenv/plugin-bundling": "2.7.19",
"@jsenv/plugin-minification": "1.5.11",
Expand Down
2 changes: 1 addition & 1 deletion packages/related/cli/template-web-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@babel/plugin-syntax-import-attributes": "7.26.0",
"@babel/plugin-transform-react-jsx": "7.25.9",
"@jsenv/assert": "4.4.2",
"@jsenv/core": "39.7.0",
"@jsenv/core": "39.7.1",
"@jsenv/plugin-react": "1.5.48",
"@jsenv/plugin-bundling": "2.7.19",
"@jsenv/plugin-minification": "1.5.11",
Expand Down
2 changes: 1 addition & 1 deletion packages/related/cli/template-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"devDependencies": {
"@babel/plugin-syntax-import-attributes": "7.26.0",
"@jsenv/assert": "4.4.2",
"@jsenv/core": "39.7.0",
"@jsenv/core": "39.7.1",
"@jsenv/eslint-config-relax": "1.3.4",
"@jsenv/plugin-bundling": "2.7.19",
"@jsenv/plugin-minification": "1.5.11",
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/autoreload/jsenv_plugin_autoreload_server.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const jsenvPluginAutoreloadServer = ({
}
if (
urlInfo.data.hotDecline ||
urlInfo.firstReference?.type === "http_request"
urlInfo.lastReference?.type === "http_request"
) {
return {
declined: true,
Expand Down

0 comments on commit b0d71ee

Please sign in to comment.