changeset 92:8db5ba7e12b9

pnpm install is slow & broken over nfs with a mismatching abspath
author drewp@bigasterisk.com
date Wed, 12 Jan 2022 16:53:44 -0800
parents 96084d9ccb26
children 955cde1550c3
files tasks.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tasks.py	Wed Jan 12 16:54:31 2022 -0800
+++ b/tasks.py	Wed Jan 12 16:53:44 2022 -0800
@@ -3,7 +3,8 @@
 
 @task
 def setup_js(ctx):
-    ctx.run('pnpm install')
+    if 0: # only reasonable on bang,but dash tries to rebuild it
+        ctx.run('pnpm install --dir=$PWD')
 
 @task(pre=[setup_js])
 def serve_demo(ctx):