diff options
Diffstat (limited to 'src/index.ts')
-rw-r--r-- | src/index.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/index.ts b/src/index.ts index 59913b3..4887dd6 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,10 +1,10 @@ -import { withHtmlLiveReload } from "bun-html-live-reload" -import serveStatic from "serve-static-bun" +import { withHtmlLiveReload } from "bun-html-live-reload"; +import serveStatic from "serve-static-bun"; -const dir = Bun.argv.length > 2 ? Bun.argv[Bun.argv.length - 1] : "./" +const dir = Bun.argv.length > 2 ? Bun.argv[Bun.argv.length - 1] : "./"; export default withHtmlLiveReload({ fetch: serveStatic(dir, { - dotfiles: "allow" + dotfiles: "allow", }), -}) +}); |