diff options
| author | Brandon Keiji <[email protected]> | 2025-04-24 01:16:15 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-04-23 18:16:15 -0700 |
| commit | c24dc0ec77601cb25ec4d52c9159569e390757f1 (patch) | |
| tree | 0556197295e32878f852ab0687322e8a377ab40a /scripts/start.sh | |
| parent | cf89c030d09af1e65d4094978dc82a995a2f8fa8 (diff) | |
feat: add react dev tools (#143)
Diffstat (limited to 'scripts/start.sh')
| -rwxr-xr-x | scripts/start.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/start.sh b/scripts/start.sh index 66025b86..c2adbcb0 100755 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -23,9 +23,11 @@ if scripts/sandbox_command.sh -q; then scripts/start_sandbox.sh "$@" else echo "WARNING: OUTSIDE SANDBOX. See README.md to enable sandboxing." + # DEV=true to enable React Dev Tools (https://github.com/vadimdemedes/ink?tab=readme-ov-file#using-react-devtools) + # CLI_VERSION to display in the app ui footer if [ -n "${DEBUG:-}" ]; then - CLI_VERSION='development' node --inspect-brk node_modules/@gemini-code/cli "$@" + CLI_VERSION='development' DEV=true node --inspect-brk node_modules/.bin/gemini-code "$@" else - CLI_VERSION='development' node node_modules/@gemini-code/cli "$@" + CLI_VERSION='development' DEV=true node node_modules/.bin/gemini-code "$@" fi fi
\ No newline at end of file |
