Skip to content

Commit

Permalink
File split + try chokidar for file watching
Browse files Browse the repository at this point in the history
  • Loading branch information
chenglou committed Sep 14, 2020
1 parent 8c68535 commit 7a0bd67
Show file tree
Hide file tree
Showing 5 changed files with 350 additions and 311 deletions.
68 changes: 39 additions & 29 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Expand Up @@ -98,6 +98,7 @@
},
"dependencies": {
"@types/tmp": "^0.2.0",
"chokidar": "^3.4.2",
"tmp": "^0.2.1",
"vscode-uri": "^2.1.2"
}
Expand Down
9 changes: 9 additions & 0 deletions server/src/constants.ts
@@ -0,0 +1,9 @@
import * as path from 'path';

// See https://microsoft.github.io/language-server-protocol/specification Abstract Message
// version is fixed to 2.0
export let jsonrpcVersion = '2.0';
export let bscPartialPath = path.join('node_modules', 'bs-platform', process.platform, 'bsc.exe');
export let compilerLogPartialPath = path.join('lib', 'bs', '.compiler.log');
export let resExt = '.res';
export let resiExt = '.resi';

0 comments on commit 7a0bd67

Please sign in to comment.