Skip to content

add_file violates fd ownership

On modern versions of Rust, using add_file and then dropping the watcher causes panics, since the fd gets closed twice, once when the watcher is dropped and the other when the owner of the File gets dropped.

This is a breaking change.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information