Fix npm run dev
authorChocobozzz <me@florianbigard.com>
Fri, 8 Jun 2018 09:36:50 +0000 (11:36 +0200)
committerChocobozzz <me@florianbigard.com>
Fri, 8 Jun 2018 09:36:50 +0000 (11:36 +0200)
scripts/watch/server.sh

index da8bff1daef39db431d9187e4d8b1dc60d7f1e6b..9d4eb8e02f5c8b3e916d6510730214e6726d30e8 100755 (executable)
@@ -4,7 +4,7 @@ set -eu
 
 # Copy locales
 mkdir -p "./client/dist"
-rm -r "./client/dist/locale"
+rm -rf "./client/dist/locale"
 cp -r "./client/src/locale/target" "./client/dist/locale"
 
 NODE_ENV=test npm run concurrently -- -k \