#9518 closed enhancement (fixed)
Automatically reload local config files when changed
Reported by: | naoliv | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 14.06 |
Component: | Core | Version: | |
Keywords: | Cc: |
Description
It would be nice if JOSM could automatically reload local config files (validator .cfg or .mapcss, for example) when they get modified (using some file notification system for this).
Attachments (0)
Change History (14)
comment:1 Changed 10 years ago by
Milestone: | → 14.05 |
---|
comment:2 Changed 10 years ago by
That would be very helpful. When you edit and test mappaint styles, you always need to restart JOSM or delete and re add the style to JOSM after every little change to see the result. That is a bit annoying.
comment:3 follow-up: 4 Changed 10 years ago by
Concerning map styles, there is already a mechanism with mappaint.auto_reload_local_styles
in the Map Paint dialog, which can be replaced by a generic WatchService
approach.
comment:4 Changed 10 years ago by
Replying to Don-vip:
Concerning map styles, there is already a mechanism with
mappaint.auto_reload_local_styles
in the Map Paint dialog.
Thanks for the hint, that helps a lot. Though this does only work if the dialog is displayed in the sidebar.
comment:5 Changed 10 years ago by
Yes I plan to replace this feature by a better mechanism. But I'll keep the preference entry.
comment:6 Changed 10 years ago by
Milestone: | 14.05 → 14.06 |
---|
That's something for Java 7: http://docs.oracle.com/javase/tutorial/essential/io/notification.html