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
The assumeUpToDate variable should take into consideration that the files are being hot-reloaded before taking the node environment into consideration.
The text was updated successfully, but these errors were encountered:
ianvonholt
changed the title
Hot Reload Fails if NODE_ENV is not 'development' or 'dev'
Hot reload fails if NODE_ENV is not 'development' or 'dev'
Jun 27, 2016
I tracked down a bug with hot-reloaded templates not re-compiling if NODE_ENV is set to values other than "development" or "dev".
The error stems from:
https://github.com/marko-js/marko/blob/master/runtime/loader.js#L102-L108
and
https://github.com/marko-js/marko/blob/master/compiler/config.js#L24
The assumeUpToDate variable should take into consideration that the files are being hot-reloaded before taking the node environment into consideration.
The text was updated successfully, but these errors were encountered: