From 67cb1eb57c0bef838d3f0b2a8826262b9ca3bf52 Mon Sep 17 00:00:00 2001 From: Adam Coldrick Date: Sun, 3 Feb 2019 19:38:57 +0000 Subject: [PATCH] Rebuild node-sass bindings when running the webclient dev server If a newer version of node.js is installed on the user's system than is used in tox.ini, it is possible to run into errors when running the sass-related parts of the build. Forcing a rebuild of the bindings fixes this issue. Change-Id: Ia4dc046334d4c483f0a880f158bdfa56c153a199 --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 19b3e6b4..4098b752 100644 --- a/tox.ini +++ b/tox.ini @@ -33,6 +33,7 @@ deps = nodeenv commands = bash ./bin/nodeenv.sh {envdir} 6.10.2 npm install + npm rebuild node-sass --force {toxinidir}/node_modules/.bin/grunt {posargs} [testenv:bindep]