Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Firebug does not refresh with script changes uploaded to server
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jondevelop  
View profile  
 More options Jun 21 2012, 10:30 pm
From: Jondevelop <wrightjonath...@gmail.com>
Date: Thu, 21 Jun 2012 19:30:40 -0700 (PDT)
Local: Thurs, Jun 21 2012 10:30 pm
Subject: Firebug does not refresh with script changes uploaded to server
Hi,

I am currently having trouble with Firebug 1.9.2 in Firefox 13.0.1.

1. I debug/edit Javascript on my local Windows 7 machine.
2. I upload my changes to the server (Apache) via Filezilla FTP.
3. I load the web page in question. If the window was already open, I
refresh with F5 or Control+F5.
4. I check Firebug > Script for the javascript changes, and Firebug >
Console for errors.
5. I repeat Steps 1-5, until, lo and behold, Firebug no longer
displays updates in the Script Panel.

For example:

I open Firebug > Script, and look at the file display.canvas.js

...

function cycle(time) {
     previousCycle = time;
    requestAnimationFrame(cycle);

}

...

I make the following change on my local machine:

function cycle(time) {
     renderCursor(time);
     previousCycle = time;
    requestAnimationFrame(cycle);

}

I FTP the file back up to the server, noting the time stamp 19:20:13,
or whatever time it is, has indeed changed.

I open the browser and Firebug still displays this:

function cycle(time) {
     previousCycle = time;
    requestAnimationFrame(cycle);

}

To be clear, I have cleared the cached, pressed Ctrl + F5, even
restarted my laptop, to no avail.

Any help is appreciated.

thank you,
Jondevelop


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jan Honza Odvarko  
View profile  
 More options Jun 22 2012, 9:03 am
From: Jan Honza Odvarko <odva...@gmail.com>
Date: Fri, 22 Jun 2012 06:03:52 -0700 (PDT)
Local: Fri, Jun 22 2012 9:03 am
Subject: Re: Firebug does not refresh with script changes uploaded to server
Do you see the problem with Firebug 1.10?
http://getfirebug.com/releases/firebug/1.10/

Honza

On Jun 22, 4:30 am, Jondevelop <wrightjonath...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jondevelop  
View profile  
 More options Jun 22 2012, 10:33 pm
From: Jondevelop <wrightjonath...@gmail.com>
Date: Fri, 22 Jun 2012 19:33:50 -0700 (PDT)
Local: Fri, Jun 22 2012 10:33 pm
Subject: Re: Firebug does not refresh with script changes uploaded to server

I'll see what i can discover with the Firebug version you recommended.
Oddly enough, I opened the site a few minutes and the code is there now.

I guess i should have added that the site is
http://html5.jonathandevelop.com/.

Its an HTML 5 Game book i'm going thru,
"HTML 5 Games: Creating Fun with HTML5, CSS3, and WebGL" by Jacob Seidelin

Apparently its a tough problem to reproduce.
I think a similar problem is going on in Google Chrome, but I cannot be
sure.

I wonder if its something on my Windows 7 machine. I ran Spybot S & D last
night...

Thanks anyway.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jondevelop  
View profile  
 More options Jun 22 2012, 11:43 pm
From: Jondevelop <wrightjonath...@gmail.com>
Date: Fri, 22 Jun 2012 20:43:45 -0700 (PDT)
Local: Fri, Jun 22 2012 11:43 pm
Subject: Re: Firebug does not refresh with script changes uploaded to server

I am betting there is a cache update problem somewhere in Firefox. I may
attempt to change the name from

*display.canvas.js
to
**display.canvas.v12345.js*

just to see what i get.

I wonder if Modernizr is behind the problem. Here is how *display.canvas.js*is loaded from a file called
* load.js*

if (Modernizr.standalone) {
    Modernizr.load([
    {
        test : Modernizr.canvas,
        yep : "loader!scripts/display.canvas.js",
        nope : "loader!scripts/display.dom.js"
    },{
        test : Modernizr.webworkers,
        yep : [
            "loader!scripts/board.worker-interface.js",
            "preload!scripts/board.worker.js"
        ],
        nope : "loader!scripts/board.js"
    },{
        load : [
            "loader!scripts/input.js",
            "loader!scripts/screen.main-menu.js",
            "loader!scripts/screen.game.js",
            "loader!images/jewels"
                + jewel.settings.jewelSize + ".png"
        ]
    }
    ]);

}

And i carefully compared the timestamp in Filezilla when I uploaded the
file, versus
what the header and response timestamps in Firebug said about the file:

http://html5.jonathandevelop.com/scripts/file-info.jpg


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »