Skip to content

Changes sync with container does not always work perfectly #1369

@NikitaNoaks

Description

@NikitaNoaks

Hello,

I am not sure why #1313 was closed, because it is an issue and does happen quite often to me, too.

It appears to be syncing, but sometimes the file content gets cut off, which causes an error when refreshing.
I often see this issue, and the error looks like: ParseError: syntax error, unexpected end of file.

It probably does not happen on small projects, but it does happen regularly on big projects.
The only solution I have found is running bin/copytocontainer --all or a specific folder you are working on (usually app/code or app/design).

For example, if I am working on the same app/code file, it will sync it 2-3 times in a row, but the 4th time will most likely lead to the error message I have specified earlier.

Any suggestions?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions