mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-12 03:05:12 +00:00
dont hardcode port
This commit is contained in:
@@ -210,7 +210,7 @@ export default async function dev(port: number) {
|
||||
|
||||
deferreds.client.promise.then(() => {
|
||||
function restart() {
|
||||
ports.wait(3000).then(deferreds.server.fulfil); // TODO control port
|
||||
ports.wait(port).then(deferreds.server.fulfil);
|
||||
}
|
||||
|
||||
if (proc) {
|
||||
|
||||
Reference in New Issue
Block a user