mirror of
https://github.com/dnote/dnote
synced 2026-03-14 14:35:50 +01:00
* 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
21 lines
229 B
Bash
Executable file
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
|
|
|
|
|