@ rabbx/overseer – BUN, Deno, Node용 범용 핫 리로드

작성자

카테고리:

← 피드로
DEV Community · rabbxdev · 2026-07-30 개발(SW)

rabbxdev

Tired of writing separate watch scripts for Bun, Deno, and Node?

@rabbx/overseer is a tiny, zero-dep library that handles file watching + graceful process restarts across all 3 runtimes.

Why Overseer?

Most tools are runtime-locked. Overseer auto-detects your runtime and just works.

Features

  • Glob support: include: ['src/**/*.ts'], exclude: ['**/*.test.ts']
  • Build before restart: onBeforeReload: () => $bun x tsc“
  • Smart debounce: Waits 1s after last save to restart
  • Cluster safe: Only primary process watches
  • TypeScript first: Full types included

30s Setup

`ts
import { enableWatchReload } from ‘@rabbx/overseer’;

enableWatchReload(‘./src’, {
include: [‘*/.ts’],
restartDelay: 1000,
onBeforeReload: async () => await $bun x tsc
});

원문에서 계속 ↗

코멘트

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다