Currently when using webcontainer we use webcontainer.on('preview-message') to capture errors that occur in the preview instance, this catches most errors that occur although doesn't seem to pick up failed to resolve import errors. If we could include a different type of event in preview-listener to catch these this would be ideal and definitely has a use case.
Currently when using webcontainer we use webcontainer.on('preview-message') to capture errors that occur in the preview instance, this catches most errors that occur although doesn't seem to pick up failed to resolve import errors. If we could include a different type of event in
preview-listener
to catch these this would be ideal and definitely has a use case.