Sometimes you want to keep an eye of a novem chart, file or log and a common way to do this is to wrap novem in the watch command or a for loop.
However, we could make it both prettier and faster if we handle the drawing natively (no need to clear the screen) and that would also reduce possible tool dependenices.
Finally, novem offers update over web-socket and a native watch function could refresh on demand instead of wasting lots of requests updating a stale plot.
Suggested functionality
where seconds is a float of seconds to wait before refreshing (so 0.5 would be half a second, or refreshing twice a second (2hz)) and live would be a key word for connecting to the websocket, keeping a live connection and refreshing on new messages.
Sometimes you want to keep an eye of a novem chart, file or log and a common way to do this is to wrap novem in the
watchcommand or a for loop.However, we could make it both prettier and faster if we handle the drawing natively (no need to clear the screen) and that would also reduce possible tool dependenices.
Finally, novem offers update over web-socket and a native watch function could refresh on demand instead of wasting lots of requests updating a stale plot.
Suggested functionality
where
secondsis a float of seconds to wait before refreshing (so0.5would be half a second, or refreshing twice a second (2hz)) andlivewould be a key word for connecting to the websocket, keeping a live connection and refreshing on new messages.