summaryrefslogtreecommitdiff
path: root/src/dev.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev.ts')
-rw-r--r--src/dev.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dev.ts b/src/dev.ts
index a90f4c839..3caf8e7f0 100644
--- a/src/dev.ts
+++ b/src/dev.ts
@@ -1,4 +1,4 @@
-import type { MagicConfig } from './@types/magicthing';
+import type { AstroConfig } from './@types/astro';
import { loadConfiguration, startServer as startSnowpackServer } from 'snowpack';
import { existsSync, promises as fsPromises } from 'fs';
import http from 'http';
@@ -11,8 +11,8 @@ const require = createRequire(import.meta.url);
const hostname = '127.0.0.1';
const port = 3000;
-export default async function(magicConfig: MagicConfig) {
- const { projectRoot, hmxRoot } = magicConfig;
+export default async function(astroConfig: AstroConfig) {
+ const { projectRoot, hmxRoot } = astroConfig;
const internalPath = new URL('./frontend/', import.meta.url);
const snowpackConfigPath = new URL('./snowpack.config.js', projectRoot);