1
0
Fork 0
docsearch/scripts/dev
vvo 0527688ab6 chore(dev workflow, readme): consistency commit
add npm run dev:docs
consistent readme with instantsearch.js
move to docsearch.js

What do you think?
2015-12-15 11:10:12 +01:00

14 lines
272 B
Bash
Executable file

#!/usr/bin/env bash
npm run build:css
# /bundle.js in memory
webpack-dev-server \
--config webpack.dev.config.babel.js \
--hot \
--inline \
--no-info & \
# rebuild docsearch.css and docsearch.min.css
onchange './src/styles/*.scss' -- npm run build:css & \
wait