Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add eve code for TS console watcher #22

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
22 changes: 22 additions & 0 deletions libraries/console/console.eve
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,26 @@ search
[#console/error text]
watch console
("error", text)
end

## For the TS side

The TS watcher interface currently relies on passing messages through the websocket watcher

search
[#console/log text]
watch client/websocket
("console/log", text)
end

search
[#console/warn text]
watch client/websocket
("console/warn", text)
end

search
[#console/error text]
watch client/websocket
("console/error", text)
end