Files
GitJournal/scripts/reload_run_app.sh
Vishesh Handa a065cd3ec8 Improve flutter_run script
* Display a longer message when reloading - It's easier to see
* Make flutter_run start the reload script and kill it automatically.
This is always the behaviour I want when running an app via flutter run.
2019-05-02 00:19:45 +02:00

11 lines
168 B
Bash
Executable File

#!/usr/bin/env bash
cd "$(dirname "$0")"
kill -USR1 $(cat /tmp/flutter.pid)
echo "-----------------"
echo ""
echo " APP RELOADED "
echo ""
echo "-----------------"