aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/java/soundchan/BotListener/MediaWatcher.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/soundchan/BotListener/MediaWatcher.java b/src/main/java/soundchan/BotListener/MediaWatcher.java
index 3e58d3f..80a0c83 100644
--- a/src/main/java/soundchan/BotListener/MediaWatcher.java
+++ b/src/main/java/soundchan/BotListener/MediaWatcher.java
@@ -53,6 +53,7 @@ public class MediaWatcher implements Runnable {
/**
* Sets up watch service for the file/directory
* @param filepath Path to file or directory to be scanned
+ * @param watchSubDirs Also watch any subdirectories in the given directory (doesn't do anything if watching a file)
*/
private void startWatchService(String filepath, boolean watchSubDirs) {
File mediaFile = new File(filepath);