| 22 | | diff --git a/src/org/openstreetmap/josm/data/validation/tests/MapCSSTagChecker.java b/src/org/openstreetmap/josm/data/validation/tests/MapCSSTagChecker.java |
| 23 | | index ef9c500e49..40e9b5f991 100644 |
| 24 | | --- a/src/org/openstreetmap/josm/data/validation/tests/MapCSSTagChecker.java |
| 25 | | +++ b/src/org/openstreetmap/josm/data/validation/tests/MapCSSTagChecker.java |
| 26 | | @@ -331,10 +331,10 @@ public class MapCSSTagChecker extends Test.TagTest { |
| 27 | | } else if (Logging.isDebugEnabled()) { |
| 28 | | Logging.debug(tr("Adding {0} to tag checker", i)); |
| 29 | | } |
| 30 | | - addMapCSS(i); |
| 31 | | if (Config.getPref().getBoolean("validator.auto_reload_local_rules", true) && source.isLocal()) { |
| 32 | | FileWatcher.getDefaultInstance().registerSource(source); |
| 33 | | } |
| 34 | | + addMapCSS(i); |
| 35 | | } catch (IOException | IllegalStateException | IllegalArgumentException ex) { |
| 36 | | Logging.warn(tr("Failed to add {0} to tag checker", i)); |
| 37 | | Logging.log(Logging.LEVEL_WARN, ex); |