oak-cli/template/scripts/watchServer.js

6 lines
166 B
JavaScript

/* eslint-disable @typescript-eslint/no-require-imports */
const { watch } = require('@xuchangzju/oak-cli/lib/server/watch');
const pwd = process.cwd();
watch(pwd);