Replies: 1 comment 1 reply
-
So you need to continually watch the output of that command, right? Maybe you could do this with a command such as Also does this mean you are working exclusively with the preview server? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For example, a loader which just calls
ls
on a directory. It's very cheap, so caching doesn't help much. At the same time, if that directory changes the cached loader value will persist requiring the user to manually delete the cached version.As a proposal, inspired by Rust's
cargo
, perhaps directives could be emitted on stderr, like!observable.loader.no_cache=true
. This opens up design space for other runtime loader metadata, too. I could imagine a loader explicitly noting what it's dependencies are so it could be cache busted more effectively, too.Beta Was this translation helpful? Give feedback.
All reactions