修改view需要重启jetty,如何解决?
现在修改view标题,样式都需要重启jetty。
configure.properties
core.runMode=debug
configure-debug.properties中内容:
core.classPathResourceReloadable=true
data.config.autoReloadEnabled=true
data.config.autoRecalculatePaths=true
view.debugEnabled=true
view.showExceptionStackTrace=true
view.mergeJavaScript=false
view.mergeStyleSheet=false
view.useMinifiedStyleSheet=false
view.useMinifiedJavaScript=false
view.outputPrettyJson=true
我试了maven-jetty-plugin和run-jetty-run都不行。
pom.xml
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>8.1.15.v20140411</version>
<configuration>
<scanIntervalSeconds>0</scanIntervalSeconds>
<webApp>
<contextPath>/${project.artifactId}</contextPath>
</webApp>
<connectors>
<connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
<port>8083</port>
<maxIdleTime>60000</maxIdleTime>
</connector>
</connectors>
</configuration>
</plugin>
configure.properties
core.runMode=debug
configure-debug.properties中内容:
core.classPathResourceReloadable=true
data.config.autoReloadEnabled=true
data.config.autoRecalculatePaths=true
view.debugEnabled=true
view.showExceptionStackTrace=true
view.mergeJavaScript=false
view.mergeStyleSheet=false
view.useMinifiedStyleSheet=false
view.useMinifiedJavaScript=false
view.outputPrettyJson=true
我试了maven-jetty-plugin和run-jetty-run都不行。
pom.xml
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>8.1.15.v20140411</version>
<configuration>
<scanIntervalSeconds>0</scanIntervalSeconds>
<webApp>
<contextPath>/${project.artifactId}</contextPath>
</webApp>
<connectors>
<connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
<port>8083</port>
<maxIdleTime>60000</maxIdleTime>
</connector>
</connectors>
</configuration>
</plugin>
4 个回复
WilliamJiang
赞同来自:
rain
赞同来自:
Mr_Andy - 世界你好
赞同来自:
jetty中的sourec Monitor List 是否取消监控,Enable Scanner Scan Interval 取消勾选。
rain
赞同来自: