Reputation: 11718
How is it possible to set up meteor so that it would not reload page when some folder changes. In my application users upload files and they saved to a public folder and each time this happens, meteor will reload pages in browser. How can I avoid this?
Upvotes: 0
Views: 672
Reputation: 1424
This will stop client and public folder changes from being "hot code pushed" to the browser, but also any further bundlings by your server (your app is compiled and served once):
meteor --once
Other than that, I don't even know where to start to explain you how much of a bad practice is to let users save data on the "public" directory.
EDIT: Only if you are interested in changing your code into a better practice, check out these options:
Upvotes: 2