如何在开发中的Meteor JS中禁用热代码推送? [英] How to disable Hot Code Push in Meteor JS in Development?

查看:21
本文介绍了如何在开发中的Meteor JS中禁用热代码推送?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Tincr( http://tin.cr/)来利用Chrome的代码热点-交换功能.但是,由于chrome热插拔,由于浏览器的运行时环境中的代码已经更新,因此现在每次保存文件时都需要禁用Meteor的页面刷新.

I'm using Tincr (http://tin.cr/) to take advantage of Chrome's code hot-swapping functionality. However, now I need to disable Meteor's refreshing of the page each time I save a file since the code is already update in the browser's runtime environment thanks to chrome hot-swapping.

我该怎么做?

推荐答案

我找到了答案.在您不希望引起重新加载的文件或文件夹的末尾添加〜".

i found the answer. add a '~' at the end of files or folders you don't want causing reloads.

这篇关于如何在开发中的Meteor JS中禁用热代码推送?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆