Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mrglavas opened this issue Jun 9, 2023 · 1 comment
Open
Labels
bug devMode vNextCandidate Candidate to target for next fix release

Comments

@mrglavas
Copy link

mrglavas commented Jun 9, 2023

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
Copy link
Member

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

@cherylking cherylking added the vNextCandidate Candidate to target for next fix release label Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug devMode vNextCandidate Candidate to target for next fix release
Projects
None yet
Development

No branches or pull requests

2 participants