#!/usr/bin/env bash

set -ex

# npx nodemon --watch **/ResetPasswordNotification.php --exec './dev.sh'
# npx nodemon \
#   --ext '*.php' \
#   --watch **/2023_03_29_171746_create_examresult_table.php \
#   --watch **/test_reload_db.sh \
#   --exec './dev.sh'

# /home/logic/_workspace/carousell-comission-playlist/nssheung/School-Management-System/src/php74-httpd/example-app/database/seeders/ExamResultTeacherRelSeeder.php
# src/php74-httpd/example-app/database/seeders/AttendanceTeacherRelSeeder.php
# src/php74-httpd/example-app/database/seeders/ScheduleTeacherRelSeeder.php
# src/php74-httpd/example-app/database/seeders/ScheduleSeeder.php

npx nodemon -w ./**/database -e '*.php' --exec './dev.sh'
