LiveReload - browser connected but not pushing changes

388 views
Skip to first unread message

Nikola Arežina

unread,
Mar 4, 2013, 5:23:22 AM3/4/13
to guar...@googlegroups.com

Hi guys
I have remote server (VPS CENTOS 5.9) and I want to changing files from my computer (win 7) directly on server and see changes. I'm struggling with LiveReload 2 days and I've finally made connection between my browser and server but nothing happens just green text pointer goes at begin of line and then goes back.

LiveReload 1.6 is waiting for a browser to connect.
Guard is now watching at '/home/user/demo/guard'
Browser connected. 

I think that detecting changes but not pushing, I don't know :/ I'm making connection via script

Thanks

Thibaud Guillaume-Gentil

unread,
Mar 4, 2013, 5:25:38 AM3/4/13
to guar...@googlegroups.com
Hi, can you share your Guardfile and giving us our console output by running guard in debug mode. Thanks
> --
> You received this message because you are subscribed to the Google Groups "guard-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to guard-dev+...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Nikola Arežina

unread,
Mar 4, 2013, 6:25:37 AM3/4/13
to guar...@googlegroups.com
Yes here is the guard file

guard 'livereload' do
  watch(%r{app/views/.+\.(erb|haml|slim)$})
  watch(%r{app/helpers/.+\.rb})
  watch(%r{public/.+\.(css|js|html)})
  watch(%r{config/locales/.+\.yml})
  # Rails Assets Pipeline
  watch(%r{(app|vendor)(/assets/\w+/(.+\.(css|js|html))).*}) { |m| "/assets/#{m[3]}" }
end

And this is guard in debug mode


-bash-3.2$ guard  -d
14:23:15 - DEBUG - Command execution: which notify-send
which: no notify-send in (/home/bergbcom/perl5/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin)
14:23:15 - DEBUG - Command execution: emacsclient --eval '1' 2> /dev/null || echo 'N/A'
14:23:15 - INFO - Guard uses TerminalTitle to send notifications.
14:23:15 - DEBUG - Command execution: hash stty
14:23:15 - DEBUG - Guard starts all plugins
14:23:15 - DEBUG - Hook :start_begin executed for Guard::LiveReload
14:23:15 - INFO - LiveReload 1.6 is waiting for a browser to connect.
14:23:15 - DEBUG - Hook :start_end executed for Guard::LiveReload
14:23:15 - INFO - Guard is now watching at '/home/bergbcom/demo/guard'
14:23:16 - DEBUG - Command execution: hash stty
14:23:16 - DEBUG - Start interactor
14:23:25 - DEBUG - Stop interactor
14:23:25 - DEBUG - Command execution: hash stty
14:23:25 - DEBUG - Command execution: hash stty
14:23:25 - DEBUG - Start interactor
[1] guard(main)>

thanks

Thibaud Guillaume-Gentil

unread,
Mar 4, 2013, 7:35:51 AM3/4/13
to guar...@googlegroups.com
Have you tried to change the host & port options of guard-livereload?

https://github.com/guard/guard-livereload#options

Nikola Arežina

unread,
Mar 4, 2013, 8:54:38 AM3/4/13
to guar...@googlegroups.com
No I haven't tried, what IP have to put on guard-livereload (external server IP or domain) I don't know
is it help I've already have connection between browser and server


14:23:25 - DEBUG - Start interactor
[1] guard(main)> 14:23:45 - INFO - Browser connected.

Thibaud Guillaume-Gentil

unread,
Mar 4, 2013, 9:34:19 AM3/4/13
to guar...@googlegroups.com
Try also to ask on sup...@livereload.com, please.
Reply all
Reply to author
Forward
0 new messages