Skip to content
This repository has been archived by the owner on Jul 27, 2020. It is now read-only.

Add missing info (snippet) to docs how to start injected server without yarn dev #155

Open
homoky opened this issue May 27, 2019 · 0 comments

Comments

@homoky
Copy link

homoky commented May 27, 2019

For testing purpose for example is need to run server from another script.

Weakky helped me with this script:

import yoga from './server.ts'
const serverInstance = await yoga.server()

await yoga.startServer(serverInstance)

I think this should be mentioned somewhere for all.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant