foundation / foundation/panini

Recover from Syntax Error: Error: Missing helper:

Open
#145 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
593
Forks
104
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.