Coder Social home page Coder Social logo

binaryage / xrefresh Goto Github PK

View Code? Open in Web Editor NEW
64.0 8.0 13.0 20.28 MB

Browser refresh automation for web developers

Home Page: http://xrefresh.binaryage.com

License: Other

Ruby 0.07% Shell 0.04% JavaScript 1.85% CSS 0.15% C++ 26.15% C 31.34% Objective-C 0.81% C# 39.59%

xrefresh's Introduction

XRefresh

Browser refresh automation for web developers. Will refresh your browser as you modify source files.

xrefresh's People

Contributors

darwin avatar epall avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xrefresh's Issues

crash on nearly each refresh Firefox 3.6

Since Firefox 3.6, when page contains JS animation (I use jQuery), refresh crash FF very often (90%).
No problem with 3.5.
No difference between Xrefresh 1.3 and 1.4.

Firefox 4 support

XRefresh doesn't work in Firefox 4 beta, Firebug 1.6X0a16. I changed maxVersion to <em:maxVersion>4.0.*</em:maxVersion> to install it. It installs, so "XRefresh" tab shows, but doesn't work at all.

Roadmap?

Some things have happened lately. Firefox 4 beta supports WebSockets. LiveReload pops out and its server is using WebSockets. As I see it, next reasonable steps would be:

  • WebSockets-based XRefresh for Firefox
  • The same file monitoring server for XRefresh and LiveReload

Current response format of LiveReload is just a filename string, like main.css or index.html. I think we should send full path, like /Users/nikitavasilev/Sites/tmp/test.html. Some benefits:

  1. The filename doesn't work well when few CSS/JS-files named the same. For instance, foo/main.css and bar/main.css.
  2. A full path will allow as to do a "strict mode" when we edit something on file:// scheme.

darwin, how hard would be to port XRefresh to WebSockets?
LiveReload developers (andreyvit and dottedmag), what do you think about the same server?

Avoid unnecessary refresh

Great plugin!

Is there a way to avoid refresh when I save a file not connected with the current page?
If I edit a js not included in the current page, why reload the page?
If I edit a php that respond to an ajax call, why reload the whole page?

I know that there are problems with mod_rewrite structure and so on, but would be great for some environments:D

Tkz a lot!

no connection on local VH

I have an XP Pro SP3
Apache/2.2.11 (Win32) PHP/5.2.8
Firefox 3.5
Firebug 1.4.2

I can't get this extension to work via local virtual hosts.

I don't use LOCALHOST. Each of my domains are reflected locally, for development, as a local VH.

Any ideas?

Thx

Walter

soft css in IE

I might be blind. it's possible.
but I can't seem to find the options of soft refresh in IE8.
is there a possibility in IE, or is it only for firefox and firebug?

Unable to parse server JSON message

I have xrefresh server 1.3 and firefox extension 1.3.
On css file modification it prints "Unable to parse server JSON message:" following by a JSON message but doesn't refresh.

default configuration: use 127.0.0.1 instead of "localhost"

"I deactivated the firewall and still the same problem. After ensuring telnet or ie could connect without problems I started searching anything about port blocking on firefox and finally I got with the problem: I got commented the 127.0.0.1 localhost mention on /windows/system32/drivers/etc/hosts so if you change localhost to 127.0.0.1 on your plugin default config it works fine. Same happens when i set my hosts file correctly."

Crash on Windows 7, x64

I have XRefresh 1.3 and when I try to change the type of the project, in the "Type" dropdown, XR crashes.

Another issue I think, on Windows 7 again, the server does not work properly. Although the firewall allows connection to XR port, and I have installed the FFX plugin and Firebug, it does not connect to the XR server.

Problem starting xrefresh-server on OSX

Heya,

After installing the Firefox addon, RubyCocoa and the required gems, I've run into this while trying to start the server:

/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require': no such file to load -- osx/foundation (LoadError) from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:inrequire'
from /usr/local/lib/ruby/gems/1.8/gems/xrefresh-server-0.3.0/lib/xrefresh-server/monitor.rb:1
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:inrequire'
from /usr/local/lib/ruby/gems/1.8/gems/xrefresh-server-0.3.0/bin/../lib/xrefresh-server.rb:66
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:inrequire'
from /usr/local/lib/ruby/gems/1.8/gems/xrefresh-server-0.3.0/bin/xrefresh-server:15
from /usr/local/bin/xrefresh-server:19:in `load'
from /usr/local/bin/xrefresh-server:19

OSX 10.6.2
Firefox 3.5.5
Firebug 1.4.5
XRefresh 1.3
Ruby 1.8.7 (instead of Apple's, built with the --enabled-shared flag on)
rubygems 1.3.5
RubyCocoa 1.0.1

Any ideas on what's happening? :)

Programm crashs when selecting Type

Hello when I add an folder and want to change the type from generic to another the programm crashs.
Als It doesnt refresh my firefox, the returning message is;

Unable to parse server JSON message: {"date":"21.08.2009","time":"14:21:23","root":"P:\Web\Daniel_Übung\mootorial_day1","name":"Mootorial","type":null,"files":[{"action":"changed","path1":"index.html","path2":""}],"contents":{},"command":"DoRefresh"

Hope this will help

OSX Installation Errors

When following the installation instructions at http://xrefresh.binaryage.com/#osx, I get the following error when trying to run xrefresh-server for the first time:

/Library/Frameworks/RubyCocoa.framework/Resources/ruby/osx/objc/oc_wrapper.rb:50: [BUG] Segmentation fault
ruby 1.8.6 (2008-08-11) [universal-darwin9.0]
Abort trap

I am running these versions:

OS X 10.5.7
Firefox 3.5
Firebug 1.4.2
XRefresh 1.2
Ruby 1.8.6
Ruby Cocoa 1.0.0

Any ideas what the problem is?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.