更改代码时,Meteor不再Live-Reload

时间:2017-12-13 18:18:29

标签: javascript reactjs meteor livereload

由于某些未知原因,每当我更改代码时,我的meteor项目都不再刷新。我甚至不知道从哪里开始调试它,因为看谷歌也没有显示任何结果。这是我的包和流星版本。

meteor-base@1.2.0             # Packages every Meteor app needs to have
mobile-experience@1.0.5       # Packages for a great mobile UX
mongo@1.3.0                   # The database Meteor supports right now
reactive-var@1.0.11            # Reactive variable for tracker
tracker@1.1.3                 # Meteor's client-side reactive programming library

standard-minifier-js@2.2.0    # JS minifier run for production mode
es5-shim@4.6.15                # ECMAScript 5 compatibility for older browsers.
ecmascript@0.9.0              # Enable ECMAScript2015+ syntax in app code

kadira:flow-router      # FlowRouter is a very simple router for Meteor
less@2.7.11                    # Leaner CSS language
static-html
fourseven:scss@4.5.4
aldeed:collection2-core@2.0.0
aldeed:schema-deny
reywood:publish-composite
fortawesome:fontawesome
keepnox:perfect-scrollbar
accounts-password@1.5.0
matb33:collection-hooks
meteortoys:allthings
check
alanning:roles
ostrio:files
dynamic-import@0.2.0
aldeed:tabular
easy:search
thereactivestack:blazetoreact
harrison:papa-parse
session@1.1.7
planefy:paypal-ipn-listener
meteorhacks:picker
dburles:collection-helpers
meteorhacks:aggregate
email@1.2.3
twbs:bootstrap
tmeasday:publish-counts
deanius:promise
momentjs:moment
percolate:synced-cron
seba:minifiers-autoprefixer
infinitedg:gsap
okgrow:analytics
verron:autosize
nitrolabs:cdn
practicalmeteor:mocha
shell-server
fongandrew:login-as-user

My Meteor 版本为METEOR@1.6,我使用的是反应作为我的前端

1 个答案:

答案 0 :(得分:0)

这是由于componentDidUpdate调用异步方法,它被多次调用导致错误,导致无法重新加载实时重新加载。