-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
unstableAny issue that relates to the unstable/next branchAny issue that relates to the unstable/next branch
Description
When deleting files while running in sy watch --hot, the watch session crashes with a TypeError related to object conversion.
Error Details
┌─ Liquid ➤ Snippets ~ 14:42:57
│
│ changed » source/snippets/delete-this-snippet.liquid ~ 1 change
│
│ TYPE ERROR
│
│ Cannot convert undefined or null to object
│
│ ➔ at Function.assign (<anonymous>)
│ ➔ at graph (~/Sites/packages/syncify/dist/syncify.js:14048:47)
│ ➔ at ~/Sites/packages/syncify/dist/syncify.js:14303:49
│
│ name: TypeError
│ graph: OnlineStoreThemeFileOperationResult
│ detail: POSSIBLY INTERNAL
│
└─ Liquid ➤ Snippets ~ 14:42:58Steps to Reproduce
- Run watch session with
sy watch --hot - Delete a Liquid template file (e.g.
delete-this-snippet.liquid) - Watch session crash
Expected behavior
- The watch session should handle file deletions gracefully in hot-reload mode without crashing.
- The file should be removed from the connected Shopify theme
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
unstableAny issue that relates to the unstable/next branchAny issue that relates to the unstable/next branch