Explorar o código

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

charlie %!s(int64=4) %!d(string=hai) anos
pai
achega
097989ee6f
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  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) {