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
), then the reload does not work for changes in the included component (componentName in this example). In fact, the server must be completely restarted to get these changes. Specifically, Lume outputs
ATM, there isn't a good way to implement a hot module reload system for imported modules. But you can use jsx with Lume modules. In your example, you could do this:
This is the only way to use jsx modules supporting hot reloading in Lume. And it's even more convenient because you don't need to import the modules, they are automatically available.
(this may be related to issue #135)
If JSX contains a component using the comp object (e.g.
),
then the hot reloading works just fine. Specifically, Lume outputs
However, if included via an import (e.g.
), then the reload does not work for changes in the included component (
componentName
in this example). In fact, the server must be completely restarted to get these changes. Specifically, Lume outputsbut does not output the hot reloading text.
The text was updated successfully, but these errors were encountered: