Shopify connected to Github but not local dev environment?

Topic summary

Problem: Local development link to a Shopify theme appears broken after package.json files were deleted and the .shopifyignore file was moved out of the project folder before a commit.

Current behavior: Packages were rebuilt, but changes only show up after making a commit to GitHub; immediate local updates no longer appear in the theme preview.

Desired outcome: Restore the previous workflow where local environment changes are reflected live, then committed afterward.

Context: package.json defines Node project metadata and dependencies; .shopifyignore controls which files are excluded from syncing to Shopify.

Status: Request for suggestions; no answers yet and the issue remains unresolved.

Summarized with AI on December 26. AI used: gpt-5.

Hello, I had an issue where my package.json files got deleted. Somehow the shopifyignore file got moved out of the folder structure right before I did a commit. I ended up being able to rebuild my packages but now I only see changes when I make a commit.

Would love to make so I can have it the way it was where it was linked up to my local enviroment so I can make changes and then make commit.

Does anyone have any suggestions?