Meteor 1.0 - 为什么“构建应用程序"是需要比以前更长的时间? [英] Meteor 1.0 - why does "Building the application" take so much longer than it used to?
问题描述
所以我刚刚更新到 Meteor 1.0.在本地开发应用程序时,每当我更新任何 js 文件时,构建应用程序需要大约 15 秒以上的时间,在此期间控制台会显示构建应用程序".呃!
So I just updated to Meteor 1.0. While developing an app locally, whenever I update any of the js files, it takes ~15+ seconds to build the application, during which the console says "Building the application". Erg!
这是 1.0 中的新行为吗?过去需要 1-2 秒才能看到对 localhost 上的 js 文件所做的更改(我相信是 0.9.1,我认为这是我拥有的最后一个版本).它在功能上是即时的.现在,在开发过程中看到变化之前存在巨大的滞后时间,这使得快速代码/测试迭代比以前花费的时间更长.
Is this a new behavior in 1.0? It used to take 1-2 seconds to see changes made to js files on localhost (with 0.9.1, I believe, which I think was the last version I had). It was functionally instantaneous. And now there's a huge lag time while developing before seeing changes, which makes rapid code/test iterations take way longer than they used to.
有什么方法可以解决这个问题,并在本地开发时加快构建过程?
Any way to get around this and make the build process faster while developing locally?
推荐答案
正如 Werner 指出的,您正在描述问题 #2846 (https://github.com/meteor/meteor/issues/2846).他们正在努力解决这个问题,让快速测试再次变得有趣.
As Werner pointed out, you are describing the issue #2846 (https://github.com/meteor/meteor/issues/2846). They are working hard to getting this fixed to make rapid testing more enjoyable again.
这篇关于Meteor 1.0 - 为什么“构建应用程序"是需要比以前更长的时间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!