From bb3a9907003fd0d2ac314660fc28b526a3f919bf Mon Sep 17 00:00:00 2001 From: Andreas Bomholtz Date: Tue, 9 May 2023 17:44:46 +0200 Subject: [PATCH] Show more information when running serve without wapp --- src/cmd/serve.ts | 1 + src/util/version.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cmd/serve.ts b/src/cmd/serve.ts index 59391e3..5bba911 100644 --- a/src/cmd/serve.ts +++ b/src/cmd/serve.ts @@ -322,6 +322,7 @@ export default async function serve(argv: string[]) { if (!wapp.present()) { tui.showError('No Wapp found in current folder'); + tui.showMessage('You need to create a wapp first, using `npx wapp create`'); return; } diff --git a/src/util/version.ts b/src/util/version.ts index cf2116f..261ecd8 100644 --- a/src/util/version.ts +++ b/src/util/version.ts @@ -1,2 +1,2 @@ -const VERSION = '2.1.0'; +const VERSION = '2.1.1'; export { VERSION };