Skip to content

Theme and jar file watching from other Maven modules does not work in Wildfly #17159

Closed

Description

@Artur-

Description of the bug

If you deploy a multi module project to Wildfly, then editing the frontend or theme files in another module than the main module will not trigger a live reload or hot deploy.

The problem is that the file watcher is not triggered on file changes. This seems to be caused by gmethvin/directory-watcher#94

Expected behavior

It should work like in all other servers

Minimal reproducible example

Need to create one

Versions

  • Vaadin / Flow version: 24.1.1

Activity

  1. Artur- commented on Jul 3, 2023

    @Artur-
    MemberAuthor

    Workaround is to add com.sun.nio.file as a dependency, e.g.

                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-war-plugin</artifactId>
                    <configuration>
                        <archive>
                            <manifestEntries>
                                <Dependencies>jdk.unsupported</Dependencies>
                            </manifestEntries>
                        </archive>
                    </configuration>
                </plugin>
    
  2. moved this to 🔖 Normal Priority (P2) in Vaadin Flow bugs & maintenanceon Sep 20, 2023
  3. AB-xdev commented on Nov 13, 2023

    @AB-xdev
    Contributor

    Can confirm the problem for Vaadin 24, Wildfly 30 and Java 17 (Temurin)

  4. mcollovati commented on May 7, 2024

    @mcollovati
    Collaborator

    It appears that adding the manifest entry to vaadin-dev-server works as well.

  5. added 2 commits that reference this issue on May 7, 2024
    ea7a358
    7a98e5d
  6. added a commit that references this issue on May 17, 2024
    6ba6299
  7. moved this from 🔖 Normal Priority (P2) to ✅ Closed in Vaadin Flow bugs & maintenanceon May 17, 2024
  8. added 4 commits that reference this issue on May 17, 2024
    91363a1
    d9f7afb
    236ebf7
    aa20887
  9. vaadin-bot commented on May 31, 2024

    @vaadin-bot
    Collaborator

    This ticket/PR has been released with Vaadin 24.5.0.alpha1 and is also targeting the upcoming stable 24.5.0 version.

  10. vaadin-bot commented on Jun 19, 2024

    @vaadin-bot
    Collaborator

    This ticket/PR has been released with Vaadin 24.3.14.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions