mirror of
https://github.com/enso-org/enso.git
synced 2024-12-20 13:51:33 +03:00
11 lines
291 B
TypeScript
11 lines
291 B
TypeScript
import bundler from './esbuild-config.js'
|
|
// @ts-ignore
|
|
import * as server from 'enso-gui-server'
|
|
|
|
await bundler.watch(() => liveServer?.reload(), [server.LIVE_RELOAD_LISTENER_PATH])
|
|
|
|
const liveServer = await server.start({
|
|
root: bundler.output_path,
|
|
assets: bundler.output_path,
|
|
})
|