-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If you want to use the socket connection for transporting anything other than terminal data, then the name 'data' is probably too generic. If we make it more descriptive, then the sources and destinations are clearer. Use case: I want to have a terminal window editing a file, but also the full file contents below. And, to transmit those contents, I want to re-use the socket connection. It would be helpful if the naming of the terminal data were descriptive. App.js also now exports the the socket (io).
- Loading branch information
1 parent
c8cd50a
commit ba27ea0
Showing
2 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters