Skip to content

Any way to rerun cell whenever a file changes? #1368

Discussion options

You must be logged in to vote

I just stumbled onto that discussion and now you can use PlutoLinks.jl @use_file(filename) macro which does just that and returns the updated file content.

using PlutoLinks
#==#
file_content = @use_file("path_to_file.txt")
#==#
do_something_with(file_content)

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Pangoraw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants