0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/tools/astro-languageserver/bin/server.js
Matthew Phillips 60e482aa80
Fix running the extension (#181)
I'm not sure how my setup was different but I was unable to get the extension to run locally without adding a binary. This mirrors what Svelte does so I'm assuming it's the way it's supposed to be loaded.
2021-05-08 11:35:20 -04:00

6 lines
No EOL
150 B
JavaScript

#! /usr/bin/env node
// eslint-disable-next-line @typescript-eslint/no-var-requires
const { startServer } = require('../dist/index');
startServer();