socket-function 0.8.4 → 0.8.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,5 @@
1
+ module.allowclient = true;
2
+
1
3
  import debugbreak from "debugbreak";
2
4
  import * as tls from "tls";
3
5
 
@@ -45,6 +45,8 @@ function triggerClientSideReload() {
45
45
  }
46
46
 
47
47
  class HotReloadControllerBase {
48
+ // TODO: Also hot reload when we reconnect to the server, as it is likely setup will need to
49
+ // be rerun in that case as well (for example, we need to call watchFiles again!)
48
50
  async watchFiles() {
49
51
  let callerId = HotReloadController.context.caller?.nodeId;
50
52
  if (!callerId) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "socket-function",
3
- "version": "0.8.4",
3
+ "version": "0.8.5",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "dependencies": {