playcanvas / playcanvas-sync

Real-time synchronization of files between PlayCanvas and your local machine
https://playcanvas.com/
MIT License
75 stars 19 forks source link

synced up and down, but not doing it any longer #29

Closed tobowers closed 2 years ago

tobowers commented 2 years ago

So this was working for me (and oh my god is it better than just the web browser - so thanks!)

However,

now it's saying everything is up to date when I have a new file on the editor but not locally. As a test I also added a new file locally and it still says the diff is nothing.

Installed from the main branch 2 days ago (so up to date and was working).

config:

PLAYCANVAS_API_KEY:<redacted>
PLAYCANVAS_BASE_URL: https://playcanvas.com
PLAYCANVAS_PROJECT_ID: 854449
PLAYCANVAS_BRANCH_ID: a7c38dfb-fdd8-408d-95bf-bf486b3fea2b
PLAYCANVAS_TARGET_DIR: /Users/tobowers/code/play-glad
PLAYCANVAS_BAD_FILE_REG: /^\.|~$/
PLAYCANVAS_BAD_FOLDER_REG: /\./
PLAYCANVAS_USE_CWD_AS_TARGET: undefined
PLAYCANVAS_INCLUDE_REG: undefined
PLAYCANVAS_FORCE_REG: undefined
PLAYCANVAS_DRY_RUN: undefined
PLAYCANVAS_VERBOSE: 1

Not sure if this is related or not but I created a checkpoint on the editor before it stopped working.

yaustar commented 2 years ago

Just want to do some basic troubleshooting:

tobowers commented 2 years ago

I have not created any branches and all the numbers line up. I tried deleting all the files locally and diffAll still returns nothing.

However... a new blank directory does return the diff.

tobowers commented 2 years ago

But editing locally now shows no diff and yet the file is empty in the editor.

yaustar commented 2 years ago

Ok, will have to pull in the developer @zachpeterpaul to take a look

yaustar commented 2 years ago

We think this may have been caused by a bug in a deployment that caused this issue: https://forum.playcanvas.com/t/solved-unauthorized-when-trying-to-edit-my-own-files/23288

This is fixed now, can you retry please?