mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-13 19:45:26 +00:00
simpler wait-for-port
This commit is contained in:
@@ -144,7 +144,7 @@ export default async function dev() {
|
||||
|
||||
deferreds.client.promise.then(() => {
|
||||
function restart() {
|
||||
wait_for_port(3000, deferreds.server.fulfil); // TODO control port
|
||||
wait_for_port(3000).then(deferreds.server.fulfil); // TODO control port
|
||||
}
|
||||
|
||||
if (proc) {
|
||||
|
||||
Reference in New Issue
Block a user