diff --git a/DelvEdit/src/com/interrupt/dungeoneer/editor/utils/LiveReload.java b/DelvEdit/src/com/interrupt/dungeoneer/editor/utils/LiveReload.java index 3f2745c8..384a8c52 100644 --- a/DelvEdit/src/com/interrupt/dungeoneer/editor/utils/LiveReload.java +++ b/DelvEdit/src/com/interrupt/dungeoneer/editor/utils/LiveReload.java @@ -48,7 +48,6 @@ public void run() { long now = System.currentTimeMillis(); if (watchedExtensions.contains(extension) && now - lastTimeCalled > MIN_TIME_BETWEEN_CALLS) { - Gdx.app.log("Editor", "Live loading assets"); lastTimeCalled = now; // Reload must happen on main render thread. @@ -66,6 +65,7 @@ public void run() { } public void init() { + Gdx.app.log("LiveReload", "Initializing"); if (watcher.isAlive()) { return; } @@ -75,11 +75,13 @@ public void init() { } public void dispose() { + Gdx.app.log("LiveReload", "Disposing"); watcher.interrupt(); } public void tick() { if (needToReloadAssets.compareAndSet(true, false)) { + Gdx.app.log("LiveReload", "Reloading assets"); EditorArt.refresh(); Editor.app.initTextures(); }