Currently the checker doesn't do anything incremental. So it is fine just to call check_project again and again without any fine grained specifics for only part of a project to be checked / invalidated.
One consideration is whether then watch will support glob syntax (that is coming in #155)? Maybe the watched file could be run through Pattern::matches
It would be great to have a
--watch
mode for theezno check
command. Effectively runningezno check
anytime a file in the project is updated.notify: https://docs.rs/notify/latest/notify looks like a good library to do this!
Currently the checker doesn't do anything incremental. So it is fine just to call
check_project
again and again without any fine grained specifics for only part of a project to be checked / invalidated.One consideration is whether then watch will support glob syntax (that is coming in #155)? Maybe the watched file could be run through Pattern::matches