aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-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