dnote/pkg/server/mailer/templates/dev.sh
Sung Won Cho 5902585216
Allow to specify repetition rule (#280)
* Implement data model and basic UI for repetition rules

* Implement tooltip

* Allow to update and write test

* Stop processing the first repetition until having waited at least the frequency amount

* Set up email dev server reload

* Test pro only

* Allow to toggle repetition using token

* Remove unused

* Add last active

* Simplify nextActive calculation

* Create weekly digest repetition rules for existing users

* Fix style

* Fix link

* Create default repetition rule upon signup

* Get notes with thresholds

* Fix test

* Fix test
2019-10-28 00:34:59 -07:00

21 lines
229 B
Bash
Executable file

#!/usr/bin/env bash
set -eux
PID=""
function cleanup {
if [ "$PID" != "" ]; then
kill "$PID"
fi
}
trap cleanup EXIT
while true; do
go build main.go
./main &
PID=$!
inotifywait -r -e modify .
kill $PID
done