Skip to content

Out of band changes are not detected #89

@3coins

Description

@3coins

Related to PR #83

There are no definitive steps to reproduce, but in certain scenarios notebook stops tracking out of band updates to the file. Once this happens, re-opening the notebook or refreshing the browser doesn't update the content, and any out of band updates are still not tracked. A side effect of this is that after restarting the server, all out of band updates are lost, when notebook is re-opened.

Image

I used combination of scripted and manual out of band updates to the text file. Here is the script used.

#!/bin/bash
# Sets the content `untitled.txt`, triggering an out-of-band change. This
# happens after 5 seconds.

filename="../playground/oob-test.txt"
n=10
   for i in $(seq 1 "$n"); do
    echo "Triggering out-of-band change in 5 seconds..."
    sleep 1
    echo "Out of band change $i" > "$filename"
   done

echo "Done making out of band changes to '$filename'."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions