elm-community / elm-webpack-starter

Boilerplate for developing Elm apps on Webpack

Home Page:http://elm-community.org/elm-webpack-starter/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JS Error: Reload not working

thomaspeissl opened this issue · comments

I installed everything.

I tried to change
, span[][ text "FTW!" ]
into
, span[][ text "FTW!!" ]

Then this happens:

screenshot from 2016-11-09 12-54-53

What I'm doing wrong?
I'm on Fedora 24 and use Atom as Editor.

Sorry, I'm not sure. Not seeing this behavior on OSX, changing Main.js hot-reloads fine. Are you also running elm-test perhaps? See this issue: rtfeldman/node-test-runner#62

I found the issue. It was caused by an old elm-hot-loader version.

I changed the file package.json
"elm-hot-loader": "^0.3.2",
to
"elm-hot-loader": "^0.4.1",

Then
npm install
npm start

And now it's working fine 💃

Thanks for your help.