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

Asset changes in subprojects #12484

Open
n4cer opened this issue Mar 19, 2024 · 2 comments
Open

Asset changes in subprojects #12484

n4cer opened this issue Mar 19, 2024 · 2 comments

Comments

@n4cer
Copy link

n4cer commented Mar 19, 2024

Play Version

3.0.2

API

Java

Operating System

Windows 10
behavior on other OSes is unknown

JDK

openjdk version "17.0.10" 2024-01-16
OpenJDK Runtime Environment (build 17.0.10+7-Ubuntu-122.04.1)
OpenJDK 64-Bit Server VM (build 17.0.10+7-Ubuntu-122.04.1, mixed mode, sharing)

Library Dependencies

Expected Behavior

  1. run project with subprojects in dev mode and open it
  2. assets are located in a subproject
  3. change an asset like a javascript file or something
  4. reload the page and the asset is updated

Actual Behavior

  1. a change to an asset is never updated until the project is cleaned

Reproducible Test Case

https://github.com/n4cer/playSubprojects_3-0

Description

We have divided a project into 3 subprojects: "common, website, and admin".
Our assets are located in the common module.

Since play 2.9/3.0, we have encountered an issue where changes to these assets are no longer detected in dev mode.
Without "clean", the changes are not applied. If we move the assets to the root project, dev mode works as expected again. However, this results in the assets being missing from the dist packages of admin and website.

@rhs77
Copy link

rhs77 commented Apr 29, 2024

Hallo,

Any news about a fix?

greetings

Rami

@mkurz
Copy link
Member

mkurz commented Apr 29, 2024

Hallo,

working on it in

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants