enso/app/ide-desktop/lib/content/start.ts
somebody1234 fa23e800e5
Finish enabling ts-eslint (#5944)
- prefer `null`, `!= null` and `== null` instead of `undefined`
- disallow `as`, add comments for the existing usages of `as`
- make `tsconfig.json` a bit stricter
- minor fixes to other files that were missed

# Important Notes
N/A
2023-03-20 09:35:16 +00:00

13 lines
338 B
TypeScript

/** @file Start the file watch service. */
import * as esbuild from 'esbuild'
import * as guiServer from 'enso-gui-server'
import bundler from './esbuild-config.js'
const OPTS = bundler.bundleOptions()
const ROOT = OPTS.outdir
const ASSETS = ROOT
await esbuild.build(OPTS)
await guiServer.start({ root: ROOT, assets: ASSETS ?? null })