1
0
mirror of https://github.com/coder/code-server.git synced 2024-12-04 23:03:06 +08:00
code-server/scripts
Asher 03ad2a17b2 Handle disconnects (#363)
* Make proxies decide how to handle disconnects

* Connect to a new terminal instance on disconnect

* Use our retry for the watcher

* Specify method when proxy doesn't exist

* Don't error when closing/killing disconnected proxy

* Specify proxy ID when a method doesn't exist

* Use our retry for the searcher

Also dispose some things for the watcher because it doesn't seem that
was done properly.

The searcher also now starts immediately so there won't be lag when you
perform your first search.

* Use our retry for the extension host

* Emit error in parent proxy class

Reduces duplicate code. Not all items are "supposed" to have an error
event according to the original implementation we are filling, but there
is no reason why we can't emit our own events (and are already doing so
for the "disconnected" event anyway).

* Reconnect spdlog

* Add error message when shared process disconnects

* Pass method resolve to parse

* Don't pass method to getProxy

It doesn't tell you anything that trace logging wouldn't and has
no relation to what the function actually does.

* Fix infinite recursion when disposing protocol client in tests
2019-03-28 17:59:49 -05:00
..
build.sh Add Dockerfile and some cleanup (#57) 2019-03-06 18:59:43 -08:00
dummy.js Implement fs module (#3) 2019-02-05 11:15:47 -06:00
install-packages.ts Fix build and Dockerfile issues (#176) 2019-03-09 14:51:51 -08:00
test-setup.js Refactor evaluations (#285) 2019-03-26 13:01:25 -05:00
vscode.patch Handle disconnects (#363) 2019-03-28 17:59:49 -05:00
webpack.client.config.js Remove sourcemaps for production 2019-03-14 22:58:12 +00:00
webpack.general.config.js Add task for packaging release (#6) 2019-03-06 18:15:52 -06:00
webpack.node.config.js Fix extra CSS being included on the client 2019-02-26 14:23:01 -06:00