18 lines
1.6 KiB
Plaintext
18 lines
1.6 KiB
Plaintext
|
#!/bin/sh
|
||
|
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||
|
|
||
|
case `uname` in
|
||
|
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||
|
esac
|
||
|
|
||
|
if [ -z "$NODE_PATH" ]; then
|
||
|
export NODE_PATH="/home/gib/Documents/Web/wavelength/websocket-server/node_modules/.pnpm/tsc-watch@6.2.0_typescript@5.6.3/node_modules/tsc-watch/dist/lib/node_modules:/home/gib/Documents/Web/wavelength/websocket-server/node_modules/.pnpm/tsc-watch@6.2.0_typescript@5.6.3/node_modules/tsc-watch/dist/node_modules:/home/gib/Documents/Web/wavelength/websocket-server/node_modules/.pnpm/tsc-watch@6.2.0_typescript@5.6.3/node_modules/tsc-watch/node_modules:/home/gib/Documents/Web/wavelength/websocket-server/node_modules/.pnpm/tsc-watch@6.2.0_typescript@5.6.3/node_modules:/home/gib/Documents/Web/wavelength/websocket-server/node_modules/.pnpm/node_modules"
|
||
|
else
|
||
|
export NODE_PATH="/home/gib/Documents/Web/wavelength/websocket-server/node_modules/.pnpm/tsc-watch@6.2.0_typescript@5.6.3/node_modules/tsc-watch/dist/lib/node_modules:/home/gib/Documents/Web/wavelength/websocket-server/node_modules/.pnpm/tsc-watch@6.2.0_typescript@5.6.3/node_modules/tsc-watch/dist/node_modules:/home/gib/Documents/Web/wavelength/websocket-server/node_modules/.pnpm/tsc-watch@6.2.0_typescript@5.6.3/node_modules/tsc-watch/node_modules:/home/gib/Documents/Web/wavelength/websocket-server/node_modules/.pnpm/tsc-watch@6.2.0_typescript@5.6.3/node_modules:/home/gib/Documents/Web/wavelength/websocket-server/node_modules/.pnpm/node_modules:$NODE_PATH"
|
||
|
fi
|
||
|
if [ -x "$basedir/node" ]; then
|
||
|
exec "$basedir/node" "$basedir/../tsc-watch/dist/lib/tsc-watch.js" "$@"
|
||
|
else
|
||
|
exec node "$basedir/../tsc-watch/dist/lib/tsc-watch.js" "$@"
|
||
|
fi
|