You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
local-web-server adds itself to the plugin module search path, meaning when you type --stack lws-static it will first search the current working directory then the local-web-server installation for the lws-static module.
Trival example:
importLocalWebServerfrom'local-web-server'constws=awaitLocalWebServer.create({port: 9000,directory: 'public'})/* make requests */// curl http://localhost:9000/* shut down */ws.server.close()