javascript - 在 Meteor JS 中,文件在 node_modules 缓存中吗?

标签 javascript node.js meteor npm meteorite

当使用带有 Meteor v0.6.6.3 的 npm 包时,编辑位于 node_modules/npmPackage/something.js< 的 npm 包的代码 好像没有任何作用!

npm 包是否以某种方式缓存?如果是这样,我们如何清除它?

最佳答案

来自 meteor 核心团队的

Geoff Schmidt 有一天写道:

Packages will automatically rebuild themselves when any of their source files change (tracked by SHA1.) However, if you are hacking on the package system itself, you might have a reason to want to force a rebuild of all packages.

You can do this with the undocumented command 'meteor rebuild-all'.

Source

关于javascript - 在 Meteor JS 中,文件在 node_modules 缓存中吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20137083/

相关文章:

javascript - 捕获方括号之间开始和结束空格的正则表达式

javascript - Canvas 和颜色交换

Javascript:如何绘制两个可由按钮控制的矩形

javascript - 获取meteor中的数据库版本

javascript - 切换到测试 id 并根据类执行操作

node.js - Azure Web App Bot - OAuth 完成后触发事件

javascript - 使用 .each() 从 JS 对象中获取特定项目

javascript - 如何在 node.js 中提取一个对象,哪个对象是使用 bert.js 解码的?

javascript - 订阅 Meteor.users 集合更新

javascript - Meteor 方法向客户端返回 undefined (异步)