From c24dc0ec77601cb25ec4d52c9159569e390757f1 Mon Sep 17 00:00:00 2001 From: Brandon Keiji Date: Thu, 24 Apr 2025 01:16:15 +0000 Subject: feat: add react dev tools (#143) --- scripts/start.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'scripts') 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 -- cgit v1.2.3