fix: fix a comment in src/server.ts

This commit is contained in:
xiaohui 2022-07-01 01:05:34 +08:00
parent f9cfcf9408
commit dba98e53f0

View File

@ -31,7 +31,7 @@ export function createElectron(root?: string, logger?: Logger): ChildProcessWith
export function build(config: UserConfig, closeBundle?: PluginHooks['closeBundle']): ReturnType<typeof viteBuild> { export function build(config: UserConfig, closeBundle?: PluginHooks['closeBundle']): ReturnType<typeof viteBuild> {
const watchConfig: UserConfig = { const watchConfig: UserConfig = {
// Enable watch through `electron.vite.config.{ js | ts | mjs }` // Enable watch through `electron.vite.config.{js|ts|mjs|cjs}`
// build: { watch: {} }, // build: { watch: {} },
plugins: [ plugins: [
{ {