api: make hot reload for it (close #8)