diff tasks.py @ 31:e54941d93356

mostly config fixes to try to make this pkg usable by others (not working yet)
author drewp@bigasterisk.com
date Tue, 17 Dec 2019 23:13:01 -0800
parents 45ed53428e74
children b82c05e22d9a
line wrap: on
line diff
--- a/tasks.py	Sun Dec 15 21:21:28 2019 -0800
+++ b/tasks.py	Tue Dec 17 23:13:01 2019 -0800
@@ -11,17 +11,17 @@
 
 @task
 def build(ctx):
-    ctx.run(f'yarn run webpack-build')  # --debug --display-error-details
+    ctx.run(f'yarn run webpack-build', pty=True)  # --debug --display-error-details
     ctx.run(f'cp build/streamed-graph.bundle.js /my/site/homepage/www/rdf/streamed-graph.bundle.js')
     ctx.run(f'cp src/streamed-graph.css         /my/site/homepage/www/rdf/streamed-graph.css')
 
 @task
 def build_forever(ctx):
-    ctx.run(f'yarn run webpack-build-forever')
+    ctx.run(f'yarn run webpack-build-forever', pty=True)
 
 @task
 def dev_server(ctx):
-    ctx.run(f'yarn webpack-dev-server')
+    ctx.run(f'yarn webpack-dev-server', pty=True)
 
 @task
 def test(ctx):