GWT开发模式在客户端代码更改时不刷新

GWT开发模式在客户端代码更改时不刷新,gwt,Gwt,Dev模式工作正常,但是如果我更改客户端代码并刷新浏览器,它不会看到代码更改。我使用的是maven,带有以下gwt插件配置 <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>gwt-maven-plugin</artifactId> <version>2.6.0</version> &

Dev模式工作正常,但是如果我更改客户端代码并刷新浏览器,它不会看到代码更改。我使用的是maven,带有以下gwt插件配置

<plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>gwt-maven-plugin</artifactId>
        <version>2.6.0</version>
        <executions>
           <execution>
              <goals>
                 <goal>browser</goal>
                 <goal>run</goal>
                 <goal>debug</goal>
                 <goal>compile</goal>
                 <goal>test</goal>
                 <goal>i18n</goal>
                 <goal>generateAsync</goal>
                 <goal>resources</goal>
              </goals>
           </execution>
        </executions>
        <configuration>
           <runTarget>simmapp/simmapp/template/Login.vm</runTarget>
           <hostedWebapp>${war}</hostedWebapp>
           <servicePattern>redangus/client/**/*Service.java</servicePattern>
           <generateDirectory>${target}/generated-sources/gwt</generateDirectory>
           <modules>
              <module>redangus.Inventory</module>
           </modules>
           <deploy>${target}/extra</deploy>
           <!--war>${war}</war-->
           <!-- If you don't have this, an empty JspFactory sneaks in and
           breaks the tests. -->
           <gwtSdkFirstInClasspath>true</gwtSdkFirstInClasspath>
           <runClasspathExcludes>
              <runClasspathExclude>javaee-web-api-6.0.jar</runClasspathExclude>
           </runClasspathExcludes>
           <sourceLevel>1.7</sourceLevel>
           <persistentunitcache>true</persistentunitcache>
           <persistentunitcachedir>${basedir}/persistent</persistentunitcachedir>
        </configuration>
     </plugin>

org.codehaus.mojo
GWTMaven插件
2.6.0
浏览器
跑
调试
编写
测验
i18n
生成同步
资源
simmapp/simmapp/template/Login.vm
${war}
redangus/client/***/Service.java
${target}/生成的源代码/gwt
雷丹格斯,库存
${target}/额外
符合事实的
javaee-web-api-6.0.jar
1.7
符合事实的
${basedir}/persistent
netbeans生成并运行的命令行,其类路径被砍掉:


/Library/Java/JavaVirtualMachines/jdk1.7.0_21.jdk/Contents/Home/jre/bin/Java-Xmx1024m-Xdebug-Xnoagent-Djava.compiler=NONE-Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=y-classpath whatever-Dgwt.persistentunitcache=true-Dgwt.persistentunitcachedir=/Users/tom/git/redsúgwt/persistent com.google.gwt.dev.dev.DevMode-deployment/Users/redsúgwt/target/extra-gen/Users/tom/git/reds/redsúúúgwt/target/target/.gen生成-war/Users/tom/git/reds/redsúúgwt/target/target-startupUrl simmapp/simmapp/template/Login.vm-logdir/var/log/tomcat redangus.Inventory

如何启动开发模式。您使用的是超级开发模式还是浏览器插件开发模式?Chrome浏览器插件,mvn gwt:debugYou可能必须首先清除缓存,因为浏览器将检索与以前相同的js。