added system property to inject livereload script for plugin development

This commit is contained in:
Sebastian Sdorra
2018-10-25 16:39:19 +02:00
parent 4823232ff0
commit 56ee0c498f
3 changed files with 27 additions and 2 deletions

View File

@@ -57,5 +57,9 @@ public class TemplatingPushStateDispatcher implements PushStateDispatcher {
return request.getContextPath();
}
public String getLiveReloadURL() {
return System.getProperty("livereload.url");
}
}
}