You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.
When running punch s it is sometimes annoying that it fully crashes when less parser throws an error. Punch could handle this so that an error page is returned.
The text was updated successfully, but these errors were encountered:
I guess this is because you're using an old version of the Less npm module. From 1.4.1, Less module passes the error to callback, instead of raising the exception.
Also, try upgrading to latest Punch (0.5.37 or above), which should log Less parsing errors more descriptively.
@laktek I think @smola is describing something like an in browser error page when parsing errors occur versus just logging to the console when template or css errors occur.
For example, here is an error page from the better_errors gem:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When running
punch s
it is sometimes annoying that it fully crashes when less parser throws an error. Punch could handle this so that an error page is returned.The text was updated successfully, but these errors were encountered: