mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-19 05:45:27 +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(() => {
|
deferreds.client.promise.then(() => {
|
||||||
function restart() {
|
function restart() {
|
||||||
ports.wait(3000).then(deferreds.server.fulfil); // TODO control port
|
ports.wait(port).then(deferreds.server.fulfil);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (proc) {
|
if (proc) {
|
||||||
|
|||||||
Reference in New Issue
Block a user