Update issue view with angularjs
[from now] 2014/07/24 00:34:35

diff --git a/grails-app/conf/BootStrap.groovy b/grails-app/conf/BootStrap.groovy
index d2805c6..a426107 100644
--- a/grails-app/conf/BootStrap.groovy
+++ b/grails-app/conf/BootStrap.groovy
@@ -10,7 +10,8 @@

         environments {
             development {
-                fixtureLoader.load("development/*")
+                loadFixtures()
+                watchGulpResources()
             }
         }
     }
@@ -22,4 +23,15 @@ private void setupRole() {
         Role.findOrSaveWhere(authority: Role.ROLE_ADMIN)
         Role.findOrSaveWhere(authority: Role.ROLE_EXPERT)
     }
+
+    private void loadFixtures() {
+        fixtureLoader.load("development/*")
+    }
+
+    private void watchGulpResources() {
+        Thread.start {
+            def process = "gulp watch".execute()
+            process.consumeProcessOutput(System.out, System.err)
+        }
+    }
 }
diff --git a/scripts/_Events.groovy b/scripts/_Events.groovy
new file mode 100644
index 0000000..37a5671
--- /dev/null
+++ b/scripts/_Events.groovy
@@ -0,0 +1,4 @@
+eventCreateWarStart = { name, stagingDir ->
+    def process = "gulp build".execute()
+    process.in.eachLine { line -> println "\u001b[36mgulp>\u001B[37m $line" }
+}