lookbook
lookbook copied to clipboard
Syntax error reporting in Lookbook
Problem
Hello all. When the preview file has a ruby error is it declared as missing instead of reporting the error
To Reproduce
Steps to reproduce the behavior:
-
Work on a preview file
-
Change something that breaks the code. The preview now cannot be found:
-
Go to the rails preview to get a clue of the error
Desired behaviour
It would be great if we could see this error on Lookbook.
Version numbers
- Lookbook: 2.2.0
- ViewComponent: 3.7.0
- Rails: 7.0.8
- Ruby: 3.1.4
Additional context
Thanks for looking! And the continued work :) We love Lookbook! 🚀