Skip to content

Commit fc6f555

Browse files
authored
Merge pull request nullstack#369 from nullstack/next
Next
2 parents 355f6ca + 46b0c88 commit fc6f555

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

client/runtime.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ if (module.hot) {
1717
$runtime.dependencies = new Map()
1818

1919
$runtime.accept = function accept(target, file, dependencies, declarations) {
20-
target.hot.accept()
20+
if (declarations.length > 0) {
21+
target.hot.accept()
22+
}
2123
let initiateQueue = []
2224
const old = $runtime.dependencies.get(file)
2325
if (old) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nullstack",
3-
"version": "0.19.2",
3+
"version": "0.19.3",
44
"description": "Feature-Driven Full Stack JavaScript Components",
55
"main": "./types/index.d.ts",
66
"author": "Mortaro",

0 commit comments

Comments
 (0)