blog/themes/buck/watch.ts

6 lines
131 B
TypeScript
Raw Normal View History

2024-01-10 10:35:50 +00:00
import * as esbuild from 'esbuild'
import options from './config.js'
const ctx = await esbuild.context(options)
await ctx.watch()