Firebase 如何在本地查看云存储触发器
Firebase how to see Cloud Storage triggers on local
是否可以在我的本地看到云存储触发器?例如,我是 运行 firebase serve
:我想在我的节点控制台上看到图片上传触发器
exports.generateThumbnail = functions.storage.object().onFinalize((object) => {
console.log(object);
return;
});
目前我每次测试的时候都在部署
模拟器当前不反映对您的项目的实际更改。如果您想在本地测试触发器,请使用文档了解如何 invoke functions locally. You can also unit test functions locally.
是否可以在我的本地看到云存储触发器?例如,我是 运行 firebase serve
:我想在我的节点控制台上看到图片上传触发器
exports.generateThumbnail = functions.storage.object().onFinalize((object) => {
console.log(object);
return;
});
目前我每次测试的时候都在部署
模拟器当前不反映对您的项目的实际更改。如果您想在本地测试触发器,请使用文档了解如何 invoke functions locally. You can also unit test functions locally.