summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/terminal/gwt/client/ApplicationConfiguration.java
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2012-06-28 20:20:00 +0300
committerArtur Signell <artur@vaadin.com>2012-06-28 20:20:00 +0300
commit4402fd86495e703c00e949ca49d9799085432d46 (patch)
treed1ff99c741a2cf13a6832854b5da176c511a93be /src/com/vaadin/terminal/gwt/client/ApplicationConfiguration.java
parentb9b9c2dcd65181e7a0a8bbcad80b51cdce0937d2 (diff)
downloadvaadin-framework-4402fd86495e703c00e949ca49d9799085432d46.tar.gz
vaadin-framework-4402fd86495e703c00e949ca49d9799085432d46.zip
Support for SuperDevMode through ?superdevmode (#8983)
Diffstat (limited to 'src/com/vaadin/terminal/gwt/client/ApplicationConfiguration.java')
-rw-r--r--src/com/vaadin/terminal/gwt/client/ApplicationConfiguration.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ApplicationConfiguration.java b/src/com/vaadin/terminal/gwt/client/ApplicationConfiguration.java
index 540841a6ae..31775d1d02 100644
--- a/src/com/vaadin/terminal/gwt/client/ApplicationConfiguration.java
+++ b/src/com/vaadin/terminal/gwt/client/ApplicationConfiguration.java
@@ -581,6 +581,11 @@ public class ApplicationConfiguration implements EntryPoint {
}
});
+ if (SuperDevMode.enableBasedOnParameter()) {
+ // Do not start any application as super dev mode will refresh the
+ // page once done compiling
+ return;
+ }
registerCallback(GWT.getModuleName());
deferredWidgetLoader = new DeferredWidgetLoader();
}