Hi I've assigned a existing running project after the previous developer left the company.I just cloned the project from github and did bundle. On running the project I get the following error on browser console.
WebSocket connection to 'ws://localhost:35729/livereload' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
It is my first day in office and it is ruining me.
Here is my gem file content
group :development do
gem 'guard-livereload', require: false
gem 'rack-livereload'
gem 'rb-fsevent', require: false
gem 'guard-rspec', require: false
gem 'annotate'
gem 'zeus', '0.15.1'
gem 'i18n-tasks', '~> 0.6.2'
gem 'quiet_assets'
gem 'better_errors'
end
and In development.rb I've also this line
# Automatically inject JavaScript needed for LiveReload
config.middleware.insert_after(ActionDispatch::Static, Rack::LiveReload)
I don't know what is the problem. Did I need to run separate server for LiveReload? Any suggestion will be appreciated. Thanks
You need to run bundle exec guard
in order to run the make livereload monitor.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With