简体   繁体   English

如何离线本地开发Meteor.js应用程序?

[英]How to develop a Meteor.js application locally offline?

Is there a way to start the meteor server environment without automatically updating the server packages every time the serve (re)starts? 有没有一种方法可以启动流星服务器环境,而无需每次启动(重新)启动时自动更新服务器软件包? I want to develop offline locally... Thnx! 我想在本地离线开发... Thnx!

Since Meteor 1.0.2, this doesn't happen on every serve restart. 从Meteor 1.0.2开始,这种情况不会在每次服务重启时发生。 You can also set the METEOR_OFFLINE_CATALOG environment variable to something truthy (any non-empty string) when you run Meteor below 1.0.2. 当您在低于1.0.2的版本上运行Meteor时,还可以将METEOR_OFFLINE_CATALOG环境变量设置为“ METEOR_OFFLINE_CATALOG (任何非空字符串)。 But it will disable the catalog at all, you will not get updates of new packages or new Meteor releases, so make sure to unset it before upgrading to 1.0.2. 但是它将完全禁用目录,您将不会获得新软件包或新Meteor版本的更新,因此请确保在升级到1.0.2之前将其取消设置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM