weavejester / ring-server

51 stars 24 forks source link

Able to specify dirs that will trigger browser refresh #17

Open dparoulek opened 10 years ago

dparoulek commented 10 years ago

The auto-refresh? feature is great. When playing around with clojurescript, it's nice to be able to control which directories trigger auto refresh. For example, it can be annoying when the browser refreshes when saving cljs files under src/cljs because it will clear any work in a browser repl session.

So, here's a small addition to allow specifying :refresh-path.

Dave

MichaelBlume commented 7 years ago

Looks fine to me, could you fix the conflict?

MichaelBlume commented 7 years ago

Also, could you change the commit message? "Allow user to specify dirs", maybe?