Do not build from esm while watching
This commit is contained in:
parent
173b7cf66e
commit
d9decd385a
@ -204,9 +204,9 @@ export async function frontend(...argv: string[]) {
|
||||
if (args['full-paths']) {
|
||||
watchArgs.push('--full-paths')
|
||||
}
|
||||
await build(...['-p', path, '--esm'])
|
||||
await build(...['-p', path])
|
||||
const promises = [
|
||||
build(...['-p', path, '--watch', '--esm']),
|
||||
build(...['-p', path, '--watch']),
|
||||
watchJs(path, ...watchArgs),
|
||||
watchCss(path),
|
||||
]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user