From c4b81fe87e84f0ee0ff703f1b7c42aeef79e93fa Mon Sep 17 00:00:00 2001 From: denyhs Date: Mon, 12 Apr 2021 16:34:52 -0400 Subject: [PATCH 1/2] Adding the Hot module reload to the blaze skeleton --- tools/static-assets/skel-blaze/.meteor/packages | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/static-assets/skel-blaze/.meteor/packages b/tools/static-assets/skel-blaze/.meteor/packages index c7d0ab6546..c2506a81ed 100644 --- a/tools/static-assets/skel-blaze/.meteor/packages +++ b/tools/static-assets/skel-blaze/.meteor/packages @@ -21,3 +21,6 @@ shell-server # Server-side component of the `meteor shell` command autopublish # Publish all data to the clients (for prototyping) insecure # Allow all DB writes from clients (for prototyping) + +hot-module-replacement # Update code in development without reloading the page +blaze-hot # Update files using Blaze's API with HMR From d6c0cf1a569ce7ebc53805abd24fca26495cb268 Mon Sep 17 00:00:00 2001 From: filipenevola Date: Tue, 13 Apr 2021 15:35:47 -0400 Subject: [PATCH 2/2] Including blaze-hot, hot-module-replacement as packages in the sandbox as blaze skeleton is using them now --- tools/tool-testing/sandbox.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/tool-testing/sandbox.js b/tools/tool-testing/sandbox.js index b036cb09b9..765db2d2e4 100644 --- a/tools/tool-testing/sandbox.js +++ b/tools/tool-testing/sandbox.js @@ -561,6 +561,8 @@ const ROOT_PACKAGES_TO_BUILD_IN_SANDBOX = [ 'mobile-experience', 'mongo', 'blaze-html-templates', + 'blaze-hot', + 'hot-module-replacement', "jquery", // necessary when using Blaze 'session', 'tracker',