reagent-project / reagent-template

A Leiningen template for projects using Reagent.
MIT License
394 stars 55 forks source link

Not connecting on ws://localhost:9001 #28

Closed p-b-west closed 9 years ago

p-b-west commented 9 years ago

I generate a brand new project with $ lein new reagent rt

After $ lein cljsbuild once $ lein ring server ...somewhere else... $ lein repl (browser repl)

I cannot connect using ws://localhost:9001

I get, on Chrome, This webpage is not available The webpage at ws://localhost:9001/ might be temporarily down or it may have moved permanently to a new web address. Error code: ERR_DISALLOWED_URL_SCHEME

If I try http://localhost:9001, I get Please connect with a web socket! which comes directly from weasel, so there is a server listening.

Any idea what I'm doing wrong.

OS X 10.10.1 (Yosemite.)

yogthos commented 9 years ago

The template is setup to use figwheel to handle code reloading. Instead of running lein cljsbuild once try running lein figwheel

p-b-west commented 9 years ago

Never mind. Grade 1 user error.

CTimmerman commented 9 years ago

I guess it's a server issue. What fixed it?