OpenLiberty / ci.maven

Maven plugins for managing Liberty profile servers #devops
Apache License 2.0
126 stars 89 forks source link

Windows: dev mode appears to stop listening for updates to server.xml #1689

Open mrglavas opened 1 year ago

mrglavas commented 1 year ago

I have been testing 3.8.2-SNAPSHOT and have observed that after changing server.xml once, further updates to the file are not synch'd up by dev mode.

I ran mvn liberty:dev with:

<featureManager>
  <feature>jakartaee-9.1</feature>
  <feature>microProfile-5.0</feature>
</featureManager>

Then after the server started, I added adminCenter-1.0 as a feature.

<featureManager>
  <feature>jakartaee-9.1</feature>
  <feature>microProfile-5.0</feature>
  <feature>adminCenter-1.0</feature>
</featureManager>

The file change was picked up and adminCenter-1.0 was installed.

I then made another change to server.xml:

<featureManager>
  <feature>jakartaee-9.1</feature>
  <feature>microProfile-5.0</feature>
  <feature>bogus-1.0</feature>
</featureManager>

and nothing happened. I tried making more edits to the file and still nothing happened. It seems that dev mode stopped listening to file changes after the first one.

cherylking commented 9 months ago

Is this within an IDE with Liberty Tools? Or just from the command line?