src/Palete/ValaSource.vala
authorAlan Knowles <alan@roojs.com>
Thu, 28 May 2015 05:19:31 +0000 (13:19 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 28 May 2015 05:19:31 +0000 (13:19 +0800)
src/Palete/ValaSource.vala

index daf5550..579febd 100644 (file)
@@ -219,6 +219,12 @@ namespace Palete {
                        
                        }
                        if (!foundit) {
+                           var ret = new Json.Object();
+                           ret.set_boolean_member("success", true);
+                           ret.set_string_member("message", "no need to compile");
+                           this.compiled(ret);
+                           this.compiler = null;
+                       
                            return; // do not run the compile..
                        }
                        // is the file in the module?