Hi, I use rack-reload with guard-livereload and it works great. However, I also often run under a regular web server, as guard tends to interfere with setting binding.pry and debugging.
Would it be possible to add a configuration option to rack-livereload so that it only serves Javascript when being served from guard, but not when being served from unicorn (and other non-livereload-capable servers?)
Of course, it's not a big deal for livereload to be loaded and unused, but I just wanted to avoid the console errors "WebSocket connection to 'ws://localhost:35729/livereload' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED". Thanks.
Thanks.