milankinen / livereactload

Live code editing with Browserify and React
MIT License
865 stars 61 forks source link

Cannot connect to reload server #124

Closed neemzy closed 8 years ago

neemzy commented 8 years ago

Hi,

I just tried setting up the tool again and am now encountering the following message in my browser's console (tried in both up-to-date Firefox and Chrome): Can't establish a connection to the server at ws://localhost:4474/.

For the record, I'm setting up LiveReactLoad like this: bundle.plugin(require('livereactload'), { port: 4474, host: 'localhost' });

Cheers!

milankinen commented 8 years ago

Hi @neemzy! What does the console say when you start watchify with LiveReactLoad plugin?

neemzy commented 8 years ago

The connection occurs correctly when doing this, so it must be something on my side indeed :)

milankinen commented 8 years ago

@neemzy So did you manage to get it working? 😄

neemzy commented 8 years ago

@milankinen Actually, I did not (yet); I figure it has something to do with my Browserify build, but can't quite put my finger on it. Anyway, it doesn't seem related to your lib, so don't waste your time on this :) Cheers!