Skip to content

Commit 7a0bd67

Browse files
committed
File split + try chokidar for file watching
1 parent 8c68535 commit 7a0bd67

File tree

5 files changed

+350
-311
lines changed

5 files changed

+350
-311
lines changed

package-lock.json

+39-29
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@
9898
},
9999
"dependencies": {
100100
"@types/tmp": "^0.2.0",
101+
"chokidar": "^3.4.2",
101102
"tmp": "^0.2.1",
102103
"vscode-uri": "^2.1.2"
103104
}

server/src/constants.ts

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import * as path from 'path';
2+
3+
// See https://microsoft.github.io/language-server-protocol/specification Abstract Message
4+
// version is fixed to 2.0
5+
export let jsonrpcVersion = '2.0';
6+
export let bscPartialPath = path.join('node_modules', 'bs-platform', process.platform, 'bsc.exe');
7+
export let compilerLogPartialPath = path.join('lib', 'bs', '.compiler.log');
8+
export let resExt = '.res';
9+
export let resiExt = '.resi';

0 commit comments

Comments
 (0)