summaryrefslogtreecommitdiff
path: root/src/dev.ts
diff options
context:
space:
mode:
authorGravatar Drew Powers <1369770+drwpow@users.noreply.github.com> 2021-04-01 10:20:57 -0600
committerGravatar GitHub <noreply@github.com> 2021-04-01 10:20:57 -0600
commitf6a7ac67befff863e34133673efb78ea7ac0fe48 (patch)
treec66fa89ca110c17c06432d028ee746615f2b9b23 /src/dev.ts
parent7c10d563f2fc921ee66ee4820b85c4b871d218fd (diff)
downloadastro-f6a7ac67befff863e34133673efb78ea7ac0fe48.tar.gz
astro-f6a7ac67befff863e34133673efb78ea7ac0fe48.tar.zst
astro-f6a7ac67befff863e34133673efb78ea7ac0fe48.zip
Add runtime mode (#48)
Diffstat (limited to 'src/dev.ts')
-rw-r--r--src/dev.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dev.ts b/src/dev.ts
index bb12d2ca5..f2cd6a80d 100644
--- a/src/dev.ts
+++ b/src/dev.ts
@@ -21,7 +21,7 @@ const logging: LogOptions = {
export default async function (astroConfig: AstroConfig) {
const { projectRoot } = astroConfig;
- const runtime = await createRuntime(astroConfig, { logging });
+ const runtime = await createRuntime(astroConfig, { mode: 'development', logging });
const server = http.createServer(async (req, res) => {
const result = await runtime.load(req.url);