urbica/tessella

Detect when the source mbtiles file has changed?

jonseppanen opened this issue · 1 comments

Is this possible?
Our map data updates frequently and I was hoping to use mbtiles (and the merging functionality in tippecanoe) to periodically merge in updates to the mbtiles as they come in.

Does tessella recognize when this happens and reload the mbtiles file? If not can I trigger it manually without reloading the server?

Hi, @jonseppanen

Tessella doesn't support watching sources out of the box, so you have to implement some kind of watcher for your filesystem and restart tesella according to your file changes.

You can also create a PR for this, I'll gladly review it.