fix: restart flow server explicitly to avoid false errors from a lingering server

This commit is contained in:
Michael Vines 2018-10-10 13:50:54 -07:00
parent 3a5a67bd5e
commit a2d785398c
1 changed files with 3 additions and 2 deletions

View File

@ -35,8 +35,9 @@
"test:watch": "cross-env NODE_ENV=test jest --watch --useStderr",
"test:cover": "cross-env NODE_ENV=test jest --coverage --useStderr",
"codecov": "npm run test:cover && cat ./coverage/lcov.info | codecov",
"flow": "flow-typed install jest@22 && flow",
"flow:watch": "watch 'flow' . --wait=1 --ignoreDirectoryPattern=/doc/",
"flow": "flow stop; flow-typed install jest@22 && flow",
"flow:watch": "flow stop; watch 'flow' . --wait=1 --ignoreDirectoryPattern=/doc/",
"flow:stop": "flow stop",
"lint": "eslint .",
"lint:fix": "npm run lint -- --fix",
"lint:watch": "watch 'npm run lint:fix' . --wait=1 --ignoreDirectoryPattern=/doc/",