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
This commit is contained in:
Adam Coldrick 2019-02-03 19:38:57 +00:00
parent 884ca37c39
commit 67cb1eb57c
1 changed files with 1 additions and 0 deletions

View File

@ -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]