Start tracking all changes to a file and preview changes in the viewer. The changes will be added to the original file as markup when done.

trackChanges(path, wait = 1)

Arguments

path

The path to the file to track.

wait

The number of seconds between each check for changes

Examples

trackChanges("my_file.txt")
#> Error: '/tmp/Rtmp36JSuR/my_file.txt' does not exist.