1
0
Эх сурвалжийг харах

improve(dev): live the std out/err when watch CSS bulid

charlie 4 жил өмнө
parent
commit
097989ee6f
1 өөрчлөгдсөн 4 нэмэгдсэн , 1 устгасан
  1. 4 1
      gulpfile.js

+ 4 - 1
gulpfile.js

@@ -14,7 +14,10 @@ const resourceFilePath = path.join(resourcesPath, '**')
 
 const css = {
   watchCSS () {
-    return exec(`yarn css:watch`, {})
+    return cp.spawn(`yarn css:watch`, {
+      shell: true,
+      stdio: 'inherit'
+    })
   },
 
   buildCSS (...params) {