docspell/website/scripts/run-elm.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
198 B
Bash
Raw Normal View History

2020-07-27 20:13:22 +00:00
#!/usr/bin/env bash
2020-09-29 22:17:18 +00:00
CMD="elm make --output site/static/js/bundle.js --optimize elm/Main.elm elm/Search.elm"
2020-07-27 20:13:22 +00:00
$CMD
inotifywait -m -e close_write -r elm/ |
while read f; do
$CMD
done