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();