Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ MATLAB language server supports these editors by installing the corresponding ex
### Unreleased

Fixed:
* Resolved packaging failure on Mac
* General bug fixes

### 1.2.1
Expand Down
104 changes: 104 additions & 0 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
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.0.1",
"node-loader": "^2.0.0",
"ts-loader": "^9.4.1",
"typescript": "^4.8.3",
"webpack": "^5.74.0",
Expand Down
3 changes: 2 additions & 1 deletion src/lifecycle/MatlabSession.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ export async function launchNewMatlab (): Promise<MatlabSession> {
const outFile = path.join(Logger.logDir, 'matlabls_conn.json')

const watcher = chokidar.watch(outFile, {
persistent: true
persistent: true,
useFsEvents: false
})

// This callback will be triggered when MATLAB has launched and writes the watched file.
Expand Down
8 changes: 7 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ const path = require('path')
const config = {
target: 'node',
mode: 'none',

node: {
__dirname: false
},
entry: './src/index.ts',
output: {
path: path.resolve(__dirname, 'out'),
Expand All @@ -26,6 +28,10 @@ const config = {
loader: 'ts-loader'
}
]
},
{
test: /\.node$/,
loader: 'node-loader'
}
]
}
Expand Down