Questions tagged [reload]

reloading is the process of re-requesting and re-rendering the currently displayed page

Reloading is the process of re-requesting and re-rendering the currently displayed page, triggered for example by JavaScript or the user. Use this tag to mark questions related to forcing the browser to reload or in context of bugs that occur specifically when reloading a page.

2765 questions
15
votes
4 answers

mod_wsgi force reload modules

Is there a way to have mod_wsgi reload all modules (maybe in a particular directory) on each load? While working on the code, it's very annoying to restart apache every time something is changed. The only option I've found so far is to put modname =…
Ian
  • 24,116
  • 22
  • 58
  • 96
15
votes
6 answers

Disable reload via keyboard shortcut electron app

I want to implement a custom action bound to the Command+R keyboard shortcut in an electron application. I cloned the electron-quick-start repo, and changed the main.js file to this: const { app, Menu, MenuItem, BrowserWindow } =…
15
votes
9 answers

Reloading UITableView behind UISearchDisplayController

I've run into this really strange phenomenon that I can't quite figure out. I have a UITableViewController that manages a UITableView. Pretty simple. I also have a UISearchDisplayController for searching the contents of the table view. The…
15
votes
4 answers

ObjectContext.Refresh()?

How to update ALL the dirty entities from the data store, and reset their changed values to the original store value? The method ObjectContext.Refresh requires as a parameter the entities to be refreshed.
Shimmy Weitzhandler
  • 101,809
  • 122
  • 424
  • 632
15
votes
7 answers

In Python, how do you change an instantiated object after a reload?

Let's say you have an object that was instantiated from a class inside a module. Now, you reload that module. The next thing you'd like to do is make that reload affect that class. mymodule.py --- class ClassChange(): def run(self): …
user129975
  • 3,395
  • 4
  • 19
  • 16
14
votes
4 answers

How to reload Python module in IDLE?

I'm trying to understand how my workflow can work with Python and IDLE. Suppose I write a function: def hello(): print 'hello!' I save the file as greetings.py. Then in IDLE, I test the function: >>> from greetings import * >>>…
Eric Wilson
  • 57,719
  • 77
  • 200
  • 270
14
votes
2 answers

Freeze or make Stable Web-view When I Select Action Bar Back?Prevent Loading/reloading every time

I want to Prevent Page reload or Freeze the Current Web-view When I Select any menu from option menu This is My Webview public class MyWebV extends AppCompatActivity { private WebView webView; public void onCreate(Bundle…
Whats Going On
  • 1,379
  • 6
  • 20
  • 49
14
votes
1 answer

.NET dll hot swap, no application restart

Suppose that you have the following situation in .NET (C#): namespace MyDll { public class MyClass { public string GetValue() { return "wrong value"; } } } this code goes compiled into a dll say,…
Tomaso Tosolini
  • 233
  • 2
  • 9
14
votes
5 answers

Reload image without refreshing the page

Javascript: function atualiza() { document.getElementById('badge').innerHTML = location.reload(); } I know the "location.reload()" will refresh the page... HTML:
jcsantos
  • 195
  • 1
  • 1
  • 9
13
votes
10 answers

PHP refresh window? equivalent to F5 page reload?

Is there anything in PHP that is the equivalent of manually pressing the F5 page reload button? My php script is in a frame and isn't the parent script but it needs to refresh the entire page and not just it's frame.
user840930
  • 5,214
  • 21
  • 65
  • 94
13
votes
2 answers

Reload .emacs for all active buffers

A question already has been asked how to reload a .emacs file after changing it. The proposed solutions were to use M-x load-file or M-x eval-region RET on the changed region. Neither of these solutions affect other open buffers for me. Is there a…
Alan Turing
  • 12,223
  • 16
  • 74
  • 116
13
votes
3 answers

How to correctly invalidate cache on production for Symfony2 application?

I changed the configuration of the application and deployed the new code to production server. Since the application does not parse the configuration files and use precompiled classes I needed to update the cache files. There is app/console…
lisachenko
  • 5,952
  • 3
  • 31
  • 51
13
votes
3 answers

React Native - Whats the best way to remount / reset / reload a screen?

In React-Native, is there a way (or ways) to remount or reload the whole screen? Im building a calculator, and if I follow this: https://facebook.github.io/react-native/docs/refreshcontrol.html It still doesnt resets the input fields. Sure, I can…
Raheel Hasan
  • 5,753
  • 4
  • 39
  • 70
13
votes
1 answer

IE reloads page when opening F12 developer tools

Recently I installed IE 11(previously IE 9) on my DEV Windows 7 machine. Whenever I press or open the F12 Developer tools, it reloads the page. Is there anyway to stop this behavior? Thanks in advance :)
John
  • 278
  • 4
  • 16
13
votes
2 answers

How do you reload your environment while using script/console?

I think I have seen Ryan Bates do it one of his screencasts, but I can't find it. I believe there is a command you can run while in script/console that lets you reload your models (if say you have made a change) so that you dont have to exit and…
aarona
  • 35,986
  • 41
  • 138
  • 186