Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect when the source mbtiles file has changed? #68

Open
jonseppanen opened this issue Jun 11, 2020 · 1 comment
Open

Detect when the source mbtiles file has changed? #68

jonseppanen opened this issue Jun 11, 2020 · 1 comment

Comments

@jonseppanen
Copy link

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?

@stepankuzmin
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants