Skip to content
This repository was archived by the owner on May 12, 2020. It is now read-only.
This repository was archived by the owner on May 12, 2020. It is now read-only.

Particle Dev Autosave/Compile Problem #239

@robdobsn

Description

@robdobsn

I have a problem using Particle Dev which is autosave on compile, while it does save changed files, doesn't result in the changes making it into the build.

I've recorded a video here showing the problem: https://youtu.be/iCqaO2leOX4

It looks like a race condition or similar. The video shows a project which has just been successfully built. Around 5s in I insert a syntax error (an "a" alone on a line) - and the blue dot appears to show dirty. I then press the build button (around 10s in) and the blue dot disappears and build begins. The build succeeds despite the error at around 20s in. I then remove the syntax error and build again (at 59s in) the build fails showing the error.

I checked if the file was really being saved when the build starts and it is. It just appears that the build is launched before the save has completed or similar.

So effectively the build is one save behind the current state.

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