mirror of
https://github.com/enso-org/enso.git
synced 2025-01-08 08:51:50 +03:00
fa23e800e5
- 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
13 lines
338 B
TypeScript
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 })
|