Cockpit-HQ / Cockpit

Cockpit Core - Content Platform
https://getcockpit.com
Other
388 stars 47 forks source link

pages preview event not fired on change #199

Closed Mikearaya closed 3 months ago

Mikearaya commented 3 months ago

The preview features is great for seeing the effects on the changes you are making live before publishing them.

however, while the content page preview event is fired on every change page/layout events are only fired once when opening the preview page.

Events should be fired when new layout components are added to a page & content of existing layout components change without saving the page and reopening the preview page

Mikearaya commented 3 months ago

i got it to work, it was because of how we hooked the event with the app