In my guardfile, I used: guard :livereload, port: 12345 do. I decided to change the port used by my ruby app with livereload. After using that, Node processes are able to watch for changes but Ruby processes are not able to anymore. To find out what was using that port, I ran (for Ubuntu 14.04) lsof -i :35729 (the default port of livereload) and found out that my Sublime Text livereload plugin was already using that port. This started happening after I tried out a Node project that uses tiny-lr to watch for changes in the file system. ←]2 styles.scss -> styles.cssġ7:43:23 - INFO - Reloading browser: css/styles.cssġ7:43:33 - INFO - Sass styles.scss -> styles.cssġ7:43:34 - INFO - Reloading browser: css/styles.cssĠ9:00:34 - INFO - Sass styles.scss -> styles.cssĠ9:00:35 - INFO - Reloading browser: css/styles. WebSocket connection to 'ws://0.0.0.0:35729/livereload' failed: Error in connection establishment: net::ERRCONNECTIONREFUSED. For Live Reload these are services.AddLiveReload () in ConfigureServices () and app.UseLiveReload () in the Configure () method ( code) csharp. Middleware by convention has methods that make it easier to configure and hook up middleware components. guard(main)> 17:43:14 - INFO - Browser connected.ġ7:43:22 - INFO - Sass styles.scss -> styles.css The final bit is to hook up the middleware to the Web application. ![]() Gem 'wdm', '>= 0.1.0' if RbConfig::CONFIG =~ /mswin|mingw|cygwi ![]() Please add the following to your Gemfile to avoid polling for changes: I'm using Bash to initiate guard, then activating LiveReload in the browser.ġ7:42:43 - INFO - Guard is using TerminalTitle to send notifications.ġ7:42:43 - INFO - Guard is now watching at 'c:/wamp/www/test'ġ7:42:43 - INFO - LiveReload is waiting for a browser to connect. ![]() Permission is hereby granted, free of charge, to any person obtaining a copy of. It's not working and I don't know how I can trouble shoot this really. utility for serving static files with live reload functionality. I'm trying to use Guard with LiveReload plugin for Chrome on Windows 7.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |