Skip to content

local hub project filesystem watching -- edge case where editor might not see latest version of file from disk. #1159

Open
@williamstein

Description

@williamstein

Try this in a terminal with the given file open:

echo "foo" >> x; sleep .5; echo "foo2" >> x; sleep .1; echo "foo3" >> x

It might not notice the very last foo3. The fix is probably to change smc-project to always do one extra check the "interval" after the last one to see if anything changed. Or maybe the issue is in syncstring.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @williamstein

        Issue actions

          local hub project filesystem watching -- edge case where editor might not see latest version of file from disk. · Issue #1159 · sagemathinc/cocalc