tessella icon indicating copy to clipboard operation
tessella copied to clipboard

Detect when the source mbtiles file has changed?

Open jonseppanen opened this issue 4 years ago • 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?

jonseppanen avatar Jun 11 '20 06:06 jonseppanen

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.

stepankuzmin avatar Jun 16 '20 10:06 stepankuzmin