Ensure that typechecking artifacts are built up front for watch.

This commit is contained in:
Logan Smyth 2018-02-25 21:38:11 -08:00
parent 7ff4a73916
commit cb4f4f4d5f

View File

@ -41,6 +41,12 @@ build-dist: build
watch: clean
make clean-lib
# Ensure that build artifacts for types are created during local
# development too.
BABEL_ENV=development ./node_modules/.bin/gulp build
node ./packages/babel-types/scripts/generateTypeHelpers.js
node scripts/generators/flow.js > ./packages/babel-types/lib/index.js.flow
BABEL_ENV=development ./node_modules/.bin/gulp watch
flow: