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
Hi @issuefiler Express will only require a view module if you didn't provide your existing instance to Express. If the view engine you are importing and configuring relies of some kind of state to be maintained, it is recommended to provide the view engine instance to Express directly instead of relying on the auto-require feature.
express/lib/view.js
Lines 80 to 81 in 5c4f3e7
I
import
view engines, configure them with theimport
ed instances,then Express
require
s them, creating new clones of them, and they, therequire
’d instances that are in use, end up unconfigured.See eta-dev/eta#113.
The text was updated successfully, but these errors were encountered: