Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recover from Syntax Error: Error: Missing helper: #145

Open
halfnibble opened this issue Oct 26, 2017 · 0 comments
Open

Recover from Syntax Error: Error: Missing helper: #145

halfnibble opened this issue Oct 26, 2017 · 0 comments

Comments

@halfnibble
Copy link

halfnibble commented Oct 26, 2017

Whenever a Handlebars exception occurs, e.g.
{{ foo.bar } Note: the missing }
And then a fix is applied, e.g.
{{ foo.bar }}

All custom helpers are gone (deleted and not reloaded), resulting in:
Error: Missing helper:
on page refresh.

Edit: I guess it happens on every change that triggers watch whether or not there is a syntax error.
Edit 2: It appears to be random. It randomly has the custom helper, and randomly does not. Race condition of sorts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant