在Meteor中关闭文件观看功能 [英] Turn off file watching in Meteor

查看:70
本文介绍了在Meteor中关闭文件观看功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在构建一个存储用户生成图像的应用程序。这些图像在图库类型视图中在整个应用程序中使用。它们也经常更新/重新生成。

I am building an app that stores user generated images. These images get used throughout the app in a gallery type view. They also update/regenerate frequently.

我遇到的问题是当生成新图像时,我将它存储在公共目录中。这会导致流星服务器重启。

The problem I am having is when a new image gets generated, I am storing it in the public directory. This causes the meteor server to "restart".

有没有办法关闭文件观看?

Is there a way to turn off file watching?

推荐答案

我最终将文件导出到S3存储桶,这样就不会影响流星观看。

I ended up exporting the file to an S3 bucket so that it didn't effect the Meteor watching.

这篇关于在Meteor中关闭文件观看功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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