bscotch / stitch

Tools and apps for GameMaker development: a CLI for pipeline development, a VSCode extension for coding, and more.
Other
119 stars 13 forks source link

Checkouts causes Stitch to resave .yyp with lose of some resources #154

Closed grif-on closed 1 year ago

grif-on commented 1 year ago

For some reason the Stitch extension caused some assets entries to be deleted from the .yyp file when making a checkout (switching) of commits in VS Code . Checkouts work as intended without assets entries lose when Stitch is disabled .

Here is a demonstration video : https://youtu.be/R1B_NafBqJk

Gamemaker IDE version 2023.6.0.92 (steam latest) Stitch v1.39.0 (Last updated 2023-9-1, 02:26:30)

adam-coster commented 1 year ago

This is probably because Stitch is watching for changes to all project files and trying to keep things in sync, so when you do a checkout Stitch ends up re-saving the yyp file while it's reloading everything. I'll have to do some digging to figure out exactly what the logic problem is.

adam-coster commented 1 year ago

@grif-on I believe this is resolved now!