I recall in 3.5 that the -DVERTXWEB_ENVIRONMENT=dev runtime parameter, to disable caching behaviour, allowed me to save static html and reload my browser to see the change. I can no longer get this to work in 4.0.
I am using vsCode and building with maven. When I save my source:
> src/resources/webroot/index.html
it gets copied automatically to:
> target/resources/webroot/index.html
However, my browser is not picking up the change without restarting my HTTP verticle. I have confirmed that my browser (Edge) is not caching files when the developer pane is open.
The command that starts my verticles is created by the vsCode debug lens:
> /usr/bin/env /usr/lib/jvm/java-11-openjdk-amd64/bin/java -agentlib:jdwp=transport=dt_socket,server=n,suspend=y,address=localhost:44109 -Dvertx.disableDnsResolver=true -DVERTXWEB_ENVIRONMENT=dev -Dfile.encoding=UTF-8 @/tmp/cp_1nyqaeh6y4ers5nwp6cv6z9k6.argfile ca.linkedtutoring.chat.MainVerticle -conf /d/cygwin64/home/rcoe/linked/conf/config.json
Am I missing something obvious?
Thanks