Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hangs when retrieving livereload.js #175

Open
rupert-madden-abbott opened this issue Jun 25, 2017 · 0 comments
Open

Hangs when retrieving livereload.js #175

rupert-madden-abbott opened this issue Jun 25, 2017 · 0 comments

Comments

@rupert-madden-abbott
Copy link

I'm unable to connect to Guard using the Chrome browser extension. Upon debugging, it looks like retrieving livereload.js just hangs.

$ ruby -v
ruby 2.3.4p301 (2017-03-30 revision 58214) [x86_64-linux-gnu]
$ guard -v
Guard version 2.14.1

Guardfile

guard 'livereload' do
  watch /.*/
end

Gemfile

gem 'guard'
gem 'guard-livereload'

Starting with debug flag

$ bundle exec guard -d
00:26:09 - DEBUG - Notiffany: gntp not available (Please add "gem 'ruby_gntp'" to your Gemfile and run your app with "bundle exec".).
00:26:09 - DEBUG - Notiffany: growl not available (Unsupported platform "linux-gnu").
00:26:09 - DEBUG - Notiffany: terminal_notifier not available (Unsupported platform "linux-gnu").
00:26:09 - DEBUG - Notiffany: libnotify not available (Please add "gem 'libnotify'" to your Gemfile and run your app with "bundle exec".).
00:26:09 - DEBUG - Command execution: which notify-send
00:26:09 - DEBUG - Notiffany: notifysend not available (libnotify-bin package is not installed).
00:26:09 - DEBUG - Notiffany: notifu not available (Unsupported platform "linux-gnu").
00:26:09 - DEBUG - Command execution: {"ALTERNATE_EDITOR"=>"false"} emacsclient --eval '1'
00:26:09 - DEBUG - Notiffany: emacs not available (Emacs client failed).
00:26:09 - DEBUG - Notiffany: tmux not available (:tmux notifier is only available inside a TMux session.).
00:26:09 - DEBUG - Notiffany: file not available (No :path option given).
00:26:09 - DEBUG - Notiffany is using TerminalTitle to send notifications.
00:26:09 - DEBUG - Command execution: hash stty
00:26:09 - DEBUG - Guard starts all plugins
00:26:09 - DEBUG - Hook :start_begin executed for Guard::LiveReload
00:26:09 - INFO - LiveReload is waiting for a browser to connect.
00:26:09 - DEBUG - Hook :start_end executed for Guard::LiveReload
00:26:09 - INFO - Guard is now watching at '###############'
00:26:09 - DEBUG - Start interactor

Testing with wget

$ wget 127.0.0.1:35729/livereload.js
--2017-06-26 00:27:53--  http://127.0.0.1:35729/livereload.js
Connecting to 127.0.0.1:35729... connected.
HTTP request sent, awaiting response...

and then it just hangs forever.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant