Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[chore] dev mode refactor #3138

Merged
merged 15 commits into from
Dec 31, 2021
Prev Previous commit
Next Next commit
lint
  • Loading branch information
Rich-Harris committed Dec 30, 2021
commit 4968348a60a28bebe758d68060db5a49008ab560
8 changes: 4 additions & 4 deletions packages/kit/src/core/dev/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,15 @@ export async function dev({ cwd = process.cwd(), port, host, https, open, config

const get_manifest = () => {
const manifest_data = create_manifest_data({
config: config,
config,
output: dir,
cwd: cwd
cwd
});

create_app({
manifest_data,
output: dir,
cwd: cwd
cwd
});

/** @type {import('types/app').SSRManifest} */
Expand Down Expand Up @@ -405,7 +405,7 @@ export async function dev({ cwd = process.cwd(), port, host, https, open, config
if (server) {
server.close();
} else {
throw new Error(`Cannot close server before it is initialized`);
throw new Error('Cannot close server before it is initialized');
}
});

Expand Down