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

Bundles not reloading in smart bundle mode with debug off #51

Open
maximmold opened this issue Jun 15, 2017 · 8 comments
Open

Bundles not reloading in smart bundle mode with debug off #51

maximmold opened this issue Jun 15, 2017 · 8 comments

Comments

@maximmold
Copy link
Contributor

With the following properties and using JAWR Spring Controllers, modified resources are not properly reloading.

jawr.debug.on=false
jawr.use.smart.bundling=true

This seems to be due to an inconsistency between the resource watcher and the JawrRequestHandler that actually rebuilds the bundles.

@maximmold
Copy link
Contributor Author

maximmold commented Jun 15, 2017

I've added a fix in the following pull request: #60

@ic3fox
Copy link
Collaborator

ic3fox commented Jun 17, 2017

Hi,

Can you be more precise about the issue?
What happened exactly?

I've seen that you're stopping the ressource watcher rebuild then restart it in your fix.
What happens if a change occurs during the building process?

Cheers,

@maximmold
Copy link
Contributor Author

maximmold commented Jun 18, 2017 via email

@maximmold
Copy link
Contributor Author

This issue is related as the erroneous config change detected is what caused things to become out of sync initially. If there were a real config change, you'd have the same issue.
#58

@ic3fox
Copy link
Collaborator

ic3fox commented Jul 13, 2017

Hi,

I've fixed the issue #58.
Could you make some tests with the latest version on the trunk and let me know if you're still facing this issue?

Cheers,

@maximmold
Copy link
Contributor Author

maximmold commented Jul 14, 2017 via email

@ic3fox
Copy link
Collaborator

ic3fox commented Oct 24, 2017

Hi,

Have you been able to test the fix?

Cheers,

@maximmold
Copy link
Contributor Author

maximmold commented Oct 25, 2017 via email

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

2 participants