From e4acb919144b7a1d88c4b6f8b37cc0938ea773c4 Mon Sep 17 00:00:00 2001 From: Rafael Oleza Date: Wed, 16 Aug 2017 18:57:10 -0700 Subject: [PATCH] Remove hot parameter from HMR url Summary: This is the last piece of work to make all the clients do a single request for both HMR/non-HMR modes. I'm not completely sure how this URL is used by the client, but it does not need the `hot` param. Reviewed By: davidaurelio Differential Revision: D5639946 fbshipit-source-id: a76f9ba7b9ace625352a156761d3ee2809f80c92 --- packages/metro-bundler/src/Bundler/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/metro-bundler/src/Bundler/index.js b/packages/metro-bundler/src/Bundler/index.js index 290d1291..6ef685e9 100644 --- a/packages/metro-bundler/src/Bundler/index.js +++ b/packages/metro-bundler/src/Bundler/index.js @@ -327,7 +327,7 @@ class Bundler { '?' + 'platform=' + (platform || '') + - '&runModule=false&entryModuleOnly=true&hot=true' + '&runModule=false&entryModuleOnly=true' ); }