GenkitG
Genkitโ€ข14mo agoโ€ข
20 replies
managerial-maroon

Feedback requested: Proposal to improve

Feedback requested: Proposal to improve the Developer UI launch experience


We've heard feedback from our users that the new way of launching the Developer UI doesn't feel developer friendly.

Today in Genkit JS 0.9, depending on the way you run your app code, launching the Developer UI might look something like this:

# Running a typical development server
npx genkit start -- npm run dev

# Running a TypeScript file directly
npx genkit start -- npx tsx --watch src/index.ts

# Running a JavaScript file directly
npx genkit start -- node --watch src/index.js


One idea we had to address this issue is something like the following:

# Create a config file in the .genkit directory that stores
# the command to run your app code
npx genkit configure appCmd "npx tsx --watch src/index.ts"

# Start the developer UI like before and uses the config file
# in the .genkit directory to know how to start your code
npx genkit start


What do you think?
Was this page helpful?