Skip to content

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

Open
@mrglavas

Description

@mrglavas

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions