Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion genkit-tools/cli/src/commands/start.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,16 @@ export const start = new Command('start')
.option('-p, --port <port>', 'port for the Dev UI')
.option('-o, --open', 'Open the browser on UI start up')
.action(async (options: RunOptions) => {
const projectRoot = await findProjectRoot();
if (projectRoot.includes('/.Trash/')) {
logger.warn(
'It appears your current project root is in the trash folder. ' +
'Please make sure that you current working directory is correct.'
);
}
// Always start the manager.
let managerPromise: Promise<RuntimeManager> = startManager(
await findProjectRoot(),
projectRoot,
true
);
if (!options.noui) {
Expand Down
Loading