-
1. Re: Errai Dev Mode not refreshing content
magick93 Dec 11, 2013 12:20 PM (in response to cristianmiranda)I am using 2.4.2 - not with the new development mode, but with jetty - and also cannot see client changes when I refresh.
This makes developing painfully slow.
-
2. Re: Errai Dev Mode not refreshing content
mbarkley Dec 12, 2013 2:10 PM (in response to cristianmiranda)Hi Cristian,
Relating to the discussion we had on IRC, I checked out the errai-ui-i18n-demo and I managed to fix the Dev Mode refreshing in that project.
Can you please try adding this to your pom in the build section:
<resources> <resource> <directory>src/main/java</directory> </resource> </resources>
Then do an "Maven" > "Update Project" in Eclipse.
This gets Eclipse to copy java source files to src/main/webapp/WEB-INF/classes, which seems to be necessary for Dev Mode to update.
Please let me know if this works for you.
Cheers.
-
3. Re: Re: Errai Dev Mode not refreshing content
chaluwa Dec 13, 2013 4:34 AM (in response to mbarkley)I have the same issue with my project, which is based on the errai-tutorial demo for 3.0-SNAPSHOT. My pom already has the entry, but I cannot refresh tto see changes:
<build> <finalName>${project.artifactId}</finalName> <outputDirectory>src/main/webapp/WEB-INF/classes</outputDirectory> <resources> <resource> <directory>src/main/java</directory> </resource> <resource> <directory>src/main/resources</directory> </resource> </resources> ....
-
4. Re: Re: Errai Dev Mode not refreshing content
edewit Dec 13, 2013 4:45 AM (in response to chaluwa)I had the same problem I had to do a mvn compile to see the changes
-
5. Re: Errai Dev Mode not refreshing content
cristianmiranda Dec 13, 2013 7:28 AM (in response to chaluwa)I have the same in my pom.xml. Are you using Eclipse or Intellij IDEA?
-
6. Re: Re: Errai Dev Mode not refreshing content
chaluwa Dec 13, 2013 7:54 AM (in response to edewit)I just did mvn clean complie. It downloaded a lot of stuff and compiled successfully, but still not refreshing to see changes.