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:
parent
884ca37c39
commit
67cb1eb57c
1
tox.ini
1
tox.ini
@ -33,6 +33,7 @@ deps = nodeenv
|
|||||||
commands =
|
commands =
|
||||||
bash ./bin/nodeenv.sh {envdir} 6.10.2
|
bash ./bin/nodeenv.sh {envdir} 6.10.2
|
||||||
npm install
|
npm install
|
||||||
|
npm rebuild node-sass --force
|
||||||
{toxinidir}/node_modules/.bin/grunt {posargs}
|
{toxinidir}/node_modules/.bin/grunt {posargs}
|
||||||
|
|
||||||
[testenv:bindep]
|
[testenv:bindep]
|
||||||
|
Loading…
Reference in New Issue
Block a user