PeerTube/apps/peertube-runner/scripts/watch.js

8 lines
178 B
JavaScript

import * as esbuild from 'esbuild'
import { esbuildOptions } from './build.js'
const context = await esbuild.context(esbuildOptions)
// Enable watch mode
await context.watch()