Add file watcher to re-generate thumbnails
Previously files added while the server is running would not have thumbnails until after the server was restarted. Now we watch the BASE_PATH for added/renamed files in order to re-gen the thumbnail.
This commit is contained in:
@@ -24,3 +24,5 @@ bcrypt = "0.8.1"
|
||||
image = "0.23.7"
|
||||
walkdir = "2"
|
||||
rayon = "1.3"
|
||||
notify = "4.0"
|
||||
tokio = "0.2"
|
||||
|
||||
Reference in New Issue
Block a user