Skip to content

Implement position file change notification #179

@kentcdodds

Description

@kentcdodds

I'm trying to implement improved consistency and one approach I started with but don't like is polling the file until it's been updated to the user session's txid. I'd rather be notified when the file is updated so I can respond quicker and don't have to poll. So I'm trying to use chokidar on that file and it doesn't seem to be working. I'm thinking that because that file didn't show up in ls -al until something fancy was done maybe it's not a real file? So maybe it doesn't work with file watching tools like chokidar?

Is there any way to be notified when the -pos file is updated?

Metadata

Metadata

Assignees

No one assigned

    Labels

    performanceImprovements to performance

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions