zalmoxisus / remote-redux-devtools

Redux DevTools remotely.
http://zalmoxisus.github.io/monitoring/
MIT License
1.8k stars 138 forks source link

devtools monitor is not updating #24

Closed tonis2 closed 8 years ago

tonis2 commented 8 years ago

My redux app data changes are not being recieved by remote monitor. It seems this example has the same problem http://zalmoxisus.github.io/monitoring/.

console show error with socket connection capture

zalmoxisus commented 8 years ago

Could you please also copy the error that you receive in terminal when starting remotedev --hostname=localhost --port=3000?

Also please check if you're using the last versions of remote-redux-devtools, remotedev-app(or other app for monitoring) and remotedev-server.

I solved the issue on the server and the example should work. It doesn't seem related to remotedev-server.

tonis2 commented 8 years ago

Got it working by using devTools({realtime: true}), I guess it should take its value from proccess.env but somewhy it didnt get it

zalmoxisus commented 8 years ago

Probably you are not setting process.env.NODE_ENV to 'development'. You can use devTools({ realtime: process.env.NODE_ENV !== 'production' }) if you are sure that will have it set in production. Or keep devTools({realtime: true}) in case that your are separating production from development in other place.