Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

error on simultaneous write from two atom instances #14

@paulpflug

Description

@paulpflug

Due to a problem with my package mocha-ui, I encountered a problem with CSON.writeFile.

I have two watchers on a file from two different atom instances, on change, a cson file is written, potential with different content. Quite often, the resulting file is a combination of both, which is of course invalid cson ;)

One of the files is larger, if this gets written first, then a fragment of the larger file is tailing the smaller file which is written a little bit later.

Maybe rather a problem of fs-plus or fs ?

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