Partial Fix #5560 - Gitlive - branching wip
[gitlive] / Monitor.vala
index 1b5c499..5b12963 100644 (file)
@@ -166,7 +166,8 @@ public class Monitor : gitMonitorBase
                 this.monitors.append_val(fm);
 
             } catch (Error e) {
-                  GLib.debug("Error adding monitor: %s", e.message);
+                  GLib.debug("Error adding monitor: %s\n", e.message);
+                  GLib.debug("Try: \n\nsudo su\necho 512 > /proc/sys/fs/inotify/max_user_instances\n");     
                 // FIXME -- show error? do nothing..            
             }
             // print("ADD path " + depth + ' ' + path);