jeudi 7 mai 2015

Extjs : Reflect the change in browser

I am using Extjs 5.

Here is the code i am using

Ext.application({
name : 'MyApp',

launch : function() {

    Ext.create('Ext.Panel', {
        renderTo : Ext.getBody(),
        width : 200,
        height : 150,
        bodyPadding : 5,
        title : 'Hello World',
        html : 'Hello <b>World</b>...'
    });
}
});

However this code is the simple one and can be executed without any server.

But here i am using apache.

What i exactly wants if i change my code and save the file , so that it will reflect on the browser on simple refresh i.e F5 (Right now i need to run the server again to see the changes).

Please help.




Aucun commentaire:

Enregistrer un commentaire