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

browser-refresh-tag not generated #4

Open
ranieribt opened this issue Oct 20, 2017 · 0 comments
Open

browser-refresh-tag not generated #4

ranieribt opened this issue Oct 20, 2017 · 0 comments

Comments

@ranieribt
Copy link

Verified: the first time the command npm start is issued, marko-starter is not generating the browser-refresh tag with the index.marko.js file of the site-layout component. In doing so, live reload is not working...

A fix is to add this code:

<!-- @TODO disable in production build -->
<browser-refresh enabled />

right before the </body> tag, as described in browser-refresh-taglib.

After that, even removing the browser-refresh, live reload work as expected... Until the next time you do npm start. This seems to be something related to caching...

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