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

--hot blanks the page after a manual reload #211

Closed
Darker7 opened this issue Jan 16, 2020 · 4 comments
Closed

--hot blanks the page after a manual reload #211

Darker7 opened this issue Jan 16, 2020 · 4 comments

Comments

@Darker7
Copy link

Darker7 commented Jan 16, 2020

If I load a file using --hot and manually reload the page then I get an empty page.

elm-live --version: 4.0.1
Browser: Opera (v66.0.3515.27)
OS: Linux Mint 19.2 Tina

@lucamug
Copy link
Contributor

lucamug commented Jan 31, 2020

@Darker7 , do you get any error in the console?

I am having similar issue and I am getting the error

elm.js:37126 Uncaught TypeError: Cannot read property 'hasOwnProperty' of undefined
    at findNavKey (elm.js:37126)
    at hookedInit (elm.js:37218)
    at _Platform_initialize (elm.js:1978)
    at _Platform_initialize (elm.js:37256)
    at elm.js:4093
    at elm.js:20
    at Object.module.init (elm.js:36980)
    at index-hot.html:29

Screen Shot 2020-01-31 at 9 34 30

Screen Shot 2020-01-31 at 9 34 47

@codesections
Copy link

I have also encountered this issue. I do not get the hasOwnProperty error in the JavaScript console; instead, I get

Uncaught (in promise) TypeError: myDisposeCallback is not a function

@klazuka
Copy link
Contributor

klazuka commented Feb 11, 2020

@wking-io can you update elm-hot in your package.json to version 1.1.4 (or relax the constraint to include patch releases)? See klazuka/elm-hot#40 (comment)

@lucamug
Copy link
Contributor

lucamug commented Feb 20, 2020

This issue can be closed, it has been fixed.

Thank you @klazuka and @wking-io

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

5 participants