Hot reloading fails with "Cannot read properties of undefined" error.

With gatsby, the hot reloading fails with this error, then my page seems to be deleted

API.NODE.EXECUTION

"@plasmicapp/loader-gatsby" threw an error while running the createPages lifecycle:

Cannot read properties of undefined (reading 'pages')

File: node_modules/@plasmicapp/loader-gatsby/src/gatsby-node.ts:291:7
"@plasmicapp/loader-gatsby": "^1.0.314",
"gatsby": "^5.12.5",

Hi @mighty_donkey! Does it happen if you upgrade @plasmicapp/loader-gatsby to version 1.0.315?

Hi, I upgraded to 1.0.320. The issue seems to have been fixed :+1: