diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2021-01-03 11:29:46 -0600 |
|---|---|---|
| committer | JP Dillingham <jpdillingham@gmail.com> | 2021-01-03 11:31:02 -0600 |
| commit | 3b96db739b69d854c25b06a60f78273e0338a6a8 (patch) | |
| tree | a31488d9e1568b9ac191ece9d6a4feb18bbffd8f /bin/watch | |
| parent | b9adc3c8c71e0d22f9fdb713bdf4a2f80760f655 (diff) | |
| download | slskd-3b96db739b69d854c25b06a60f78273e0338a6a8.tar.gz | |
add debug script
Diffstat (limited to 'bin/watch')
| -rwxr-xr-x | bin/watch | 9 |
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 |
