aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2021-01-03 11:29:46 -0600
committerJP Dillingham <jpdillingham@gmail.com>2021-01-03 11:31:02 -0600
commit3b96db739b69d854c25b06a60f78273e0338a6a8 (patch)
treea31488d9e1568b9ac191ece9d6a4feb18bbffd8f
parentb9adc3c8c71e0d22f9fdb713bdf4a2f80760f655 (diff)
downloadslskd-3b96db739b69d854c25b06a60f78273e0338a6a8.tar.gz
add debug script
-rwxr-xr-xbin/watch9
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/watch b/bin/watch
new file mode 100755
index 00000000..0605b83f
--- /dev/null
+++ b/bin/watch
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+if [ "$1" == "--web" ]; then
+ cd src/web
+ npm install
+ npm start
+else
+ dotnet watch --project src/slskd/slskd.csproj run
+fi \ No newline at end of file