Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
1aa7b44
feat(adapters): new Bunny.net adapter
sandros94 Feb 13, 2026
d253e05
up
sandros94 Feb 13, 2026
93f6e44
chore: apply automated updates
autofix-ci[bot] Feb 13, 2026
e9bbd24
feat: try to fallback to Deno runtime for local development
sandros94 Feb 13, 2026
8b0b092
chore: apply automated updates
autofix-ci[bot] Feb 13, 2026
02440a8
up
sandros94 Feb 13, 2026
e4a2efb
fix(bunny): properly store and close local Deno.serve in dev/preview
sandros94 Feb 13, 2026
c86dc6f
up
sandros94 Feb 13, 2026
ff5289a
cleanup
sandros94 Feb 13, 2026
4535696
fix(bunny): wait for ready when using Deno fallback
sandros94 Feb 13, 2026
7ed42a2
chore: apply automated updates
autofix-ci[bot] Feb 13, 2026
f62fe89
Revert "fix(bunny): wait for ready when using Deno fallback"
sandros94 Feb 13, 2026
3b84510
feat(bunny): add waitUntil
sandros94 Feb 13, 2026
e466fcc
feat(bunny): prevent multiple calls to serve in Edge Scripting
sandros94 Feb 13, 2026
05e845f
chore: apply automated updates
autofix-ci[bot] Feb 13, 2026
a348e2c
fix(bunny): prefer resolvePortAndHost during dev
sandros94 Feb 13, 2026
03b4e51
fix(bunny): properly fallback to deno adapter
sandros94 Feb 14, 2026
51ba934
up
sandros94 Feb 14, 2026
5605c10
revert(bunny): fallback to deno adapter
sandros94 Feb 14, 2026
7ebe54d
fix(bunny): improve check on already started server and use remoteAdd…
sandros94 Feb 14, 2026
17b9030
chore: apply automated updates
autofix-ci[bot] Feb 14, 2026
1c4195f
up
sandros94 Feb 14, 2026
c1864c7
update
pi0 Feb 17, 2026
99cd410
fmt
pi0 Feb 17, 2026
0bfc775
up
pi0 Feb 17, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(bunny): properly store and close local Deno.serve in dev/preview
  • Loading branch information
sandros94 committed Feb 13, 2026
commit e4a2efb757b5dbc15bcea14560ee2c4b187ff9fc
6 changes: 5 additions & 1 deletion src/adapters/bunny.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ class BunnyServer implements Server<BunnyFetchHandler> {
readonly runtime = "bunny";
readonly options: Server["options"];
readonly fetch: BunnyFetchHandler;
private _denoServer?: Deno.HttpServer = undefined;

constructor(options: ServerOptions) {
this.options = { ...options, middleware: [...(options.middleware || [])] };
Expand Down Expand Up @@ -98,7 +99,7 @@ class BunnyServer implements Server<BunnyFetchHandler> {
const port = !Number.isNaN(_parsedPort) ? _parsedPort : 3000;
const hostname = this.options.hostname || process.env.HOST;

Deno.serve(
this._denoServer = Deno.serve(
{
port,
hostname,
Expand All @@ -117,6 +118,9 @@ class BunnyServer implements Server<BunnyFetchHandler> {
}
Comment thread
coderabbitai[bot] marked this conversation as resolved.

close() {
if (this._denoServer) {
this._denoServer.shutdown();
}
// Bunny runtime doesn't support closing the server
return Promise.resolve();
}
Expand Down
Loading