VeriorPies / ParrelSync

(Unity3D) Test multiplayer without building
MIT License
4.51k stars 318 forks source link

[BUG] package-lock.json is not synchronized #48

Closed kyubuns closed 3 years ago

kyubuns commented 3 years ago

Describe the bug Updating package-lock.json in the original UnityProject does not sync to the clone. (I didn't add or remove any packages, I updated the hash.)

Enviroment (please complete the following information):

Additional context There will be a difference MyProject/Packages/packages-lock.json and MyProject_clone_0/Packages/packages-lock.json

314pies commented 3 years ago

Hi kyubuns, The "Packages" folder will only be updated at the cloned project start up. Please re-open the clone project or manual replacing the "Package" folder to the clone project folder if you made change related to it.

kyubuns commented 3 years ago

I have looked into it again, and it seems to not update under certain conditions. That's when I need to update packages for build pass.

Example:

In my opinion, there's no way around it.

For example, when I select "Open in New Editor" from the Clone Manager Window of the main project, copy Project before opening. Isn't that a good idea?

kyubuns commented 3 years ago

Solved by #48, thanks @314pies