dvdzkwsk / react-redux-starter-kit

Get started with React, Redux, and React-Router.
MIT License
10.29k stars 2.2k forks source link

Hot reloading for styles not working #1252

Closed padsbanger closed 7 years ago

padsbanger commented 7 years ago

Hello,

I am not sure if thats a feature request or a bug, but I have just cloned this repo, started the project, changes some styles in src/styles/main.scss and I get this error in dev tools:

screenshot 2017-05-25 14 10 33

The styles get compiled in console, but I have to refresh the browser manually.

dvdzkwsk commented 7 years ago

This is caused by the same thing as https://github.com/davezuko/react-redux-starter-kit/issues/1248#issuecomment-302939754. Try that fix out and see if it works for you. Your IP of course being http://10.168.20.77:3000.

padsbanger commented 7 years ago

Yes, it works thank you 😄 Not sure why IP is hard coded like that.

dvdzkwsk commented 7 years ago

@padsbanger it's so you can access the dev server from other devices. I think I'll just remove it as the default so others don't experience this :/.