Auto reload in Dev env stopped after update Meteor from 2.4 to 2.5

I have a project using Meteor 2.4.1 and I’m using HMR. My project is a legacy that I’m updating every day, then we are using an old structure of folder yet, i.e, using everything of client directly inside the client folder loading automatically. This it isn’t a problem for us for now. I’m telling this because I have experimented HMR just works on changes on Blaze HTML Template. If I change something in the JS files, the entire page is reload (working fine).

Today I tried to update the project to Meteor 2.5 and the app works fine, but when I change any client JS file, the app doesn’t reload automatically.

Has someone seen some behavior like that?

Content of versions file:

accounts-base@2.2.0
accounts-password@2.2.0
aldeed:autoform@7.0.0
aldeed:autoform-bs-datepicker@2.0.0
aldeed:autoform-select2@3.0.1
aldeed:collection2@3.5.0
aldeed:tabular@2.1.1
aldeed:template-extension@4.0.0
allow-deny@1.1.0
autoupdate@1.8.0
babel-compiler@7.7.0
babel-runtime@1.5.0
base64@1.0.12
benjaminrh:user-session@0.2.0
binary-heap@1.0.11
blaze@2.5.0
blaze-hot@1.1.0
blaze-html-templates@1.2.1
blaze-tools@1.1.2
boilerplate-generator@1.7.1
caching-compiler@1.2.2
caching-html-compiler@1.2.0
callback-hook@1.4.0
check@1.3.1
chfritz:easycron@0.0.4
chipcastledotcom:jspdf@0.0.2
chipcastledotcom:meteor-jspdf@0.0.8
cleandersonlobo:sweetalert2@1.5.0
coffeescript@1.0.17
communitypackages:autoform-bootstrap3@1.0.1
communitypackages:fast-render@4.0.6
communitypackages:inject-data@2.3.2
communitypackages:picker@1.1.0
dandv:caret-position@2.1.1
darkblade:restivus-mtr2.3@0.8.13
dbarrett:dropzonejs@4.2.1
ddp@1.4.0
ddp-client@2.5.0
ddp-common@1.4.0
ddp-rate-limiter@1.1.0
ddp-server@2.5.0
deps@1.0.12
diff-sequence@1.1.1
djbelieny:stripe@4.3.0
djbelieny:stripe-sync@2.0.6
dynamic-import@0.7.2
ecmascript@0.16.0
ecmascript-runtime@0.8.0
ecmascript-runtime-client@0.12.1
ecmascript-runtime-server@0.11.0
ejson@1.1.1
email@2.2.0
ephemer:reactive-datatables@1.1.0
es5-shim@4.8.0
fetch@0.1.1
fortawesome:fontawesome@4.7.0
froatsnook:valid-email@1.0.0
geojson-utils@1.0.10
harrison:papa-parse@1.1.7
hellotech:meteor-momentjs-business@0.0.2
hot-code-push@1.0.4
hot-module-replacement@0.4.0
html-tools@1.1.2
htmljs@1.1.1
http@2.0.0
id-map@1.1.1
inter-process-messaging@0.1.1
iron:controller@1.0.12
iron:core@1.0.11
iron:dynamic-template@1.0.12
iron:layout@1.0.12
iron:location@1.0.11
iron:middleware-stack@1.1.0
iron:router@1.1.2
iron:url@1.1.0
jagi:astronomy@2.3.13
jagi:astronomy-softremove-behavior@3.0.0
jeremy:selectize@0.12.1_5
jquery@3.0.0
juliancwirko:s-alert@3.2.0
kadira:blaze-layout@2.3.0
konecty:mongo-counter@0.0.5_3
launch-screen@1.3.0
lepozepo:accounting@1.0.0
lepozepo:s3@5.2.8
less@4.0.0
livedata@1.0.18
localstorage@1.2.0
logging@1.3.1
manuel:reactivearray@1.0.9
matb33:collection-hooks@1.1.0
mdg:validation-error@0.5.1
meteor@1.10.0
meteor-base@1.5.1
meteorhacks:inject-initial@1.0.5
meteorhacks:search-source@1.0.1
meteorhacks:ssr@2.2.0
meteorhacks:zones@1.6.0
minifier-css@1.6.0
minifier-js@2.7.2
minimongo@1.7.0
mizzao:autocomplete@0.5.1
mobile-experience@1.1.0
mobile-status-bar@1.1.0
modern-browsers@0.1.7
modules@0.17.0
modules-runtime@0.12.0
modules-runtime-hot@0.14.0
momentjs:moment@2.29.1
mongo@1.13.0
mongo-decimal@0.1.2
mongo-dev-server@1.1.0
mongo-id@1.0.8
mongo-livedata@1.0.12
montiapm:meteorx@2.2.0
mpowaga:autoform-autocomplete@0.0.2
mrt:copy-template@0.9.0
natestrauser:select2@4.0.3
new3rs:html2canvas@0.0.5
npm-mongo@3.9.1
numtel:template-from-string@0.1.0
observe-sequence@1.0.19
okgrow:router-autoscroll@0.1.8
ongoworks:pdf@1.1.1
ordered-dict@1.1.0
pcel:loading@1.0.3
peerlibrary:blocking@0.5.2
peerlibrary:xml2js@0.4.8_1
percolate:migrations@1.0.3
promise@0.12.0
quackware:ical-generator@0.0.1
rainhaven:mask-money@0.0.1
raix:eventemitter@1.0.0
random@1.2.0
raragao:collection-softremovable@1.0.8
rate-limit@1.0.9
react-fast-refresh@0.2.0
reactive-dict@1.3.0
reactive-var@1.0.11
reload@1.3.1
retry@1.1.0
routepolicy@1.1.1
sakulstra:aggregate@1.4.3
server-render@0.4.0
service-configuration@1.3.0
session@1.2.0
sha@1.0.9
shell-server@0.5.0
simple:json-routes@2.1.0
socket-stream-client@0.4.0
spacebars@1.2.0
spacebars-compiler@1.2.1
spanier:bootstrap@0.0.3
standard-minifier-css@1.7.4
standard-minifier-js@2.7.1
templating@1.4.1
templating-compiler@1.4.1
templating-runtime@1.5.0
templating-tools@1.2.0
tmeasday:check-npm-versions@1.0.2
tracker@1.2.0
tsega:bootstrap3-datetimepicker@4.17.47
tunguska:reactive-aggregate@1.3.6
typescript@4.4.0
ui@1.0.13
underscore@1.0.10
url@1.3.2
webapp@1.13.0
webapp-hashing@1.1.0
zimme:active-route@2.3.2
zimme:collection-behaviours@1.1.3

I have the same issure with react. There is an open issue at HMR not working consistently depending on file structure · Issue #11699 · meteor/meteor · GitHub that states that HMR problems only happen for certain paths in the file-structure (I myself have not found any paths in my project that did work with HMR). @Zodern are you on it?

2 Likes