Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
78e1a57d
Unverified
Commit
78e1a57d
authored
Mar 17, 2021
by
yann300
Committed by
GitHub
Mar 17, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #984 from ethereum/fixActivateRemixd
Fix switch workspace when remixd is activated from the plugin manager
parents
9d62191f
4b2d2c3c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
remix-ui-workspace.tsx
libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx
+1
-0
remixd.ts
libs/remixd/src/bin/remixd.ts
+1
-0
No files found.
libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx
View file @
78e1a57d
...
@@ -90,6 +90,7 @@ export const Workspace = (props: WorkspaceProps) => {
...
@@ -90,6 +90,7 @@ export const Workspace = (props: WorkspaceProps) => {
useEffect
(()
=>
{
useEffect
(()
=>
{
props
.
localhost
.
event
.
register
(
'connected'
,
()
=>
{
props
.
localhost
.
event
.
register
(
'connected'
,
()
=>
{
remixdExplorer
.
show
()
remixdExplorer
.
show
()
setWorkspace
(
LOCALHOST
)
})
})
props
.
localhost
.
event
.
register
(
'disconnected'
,
()
=>
{
props
.
localhost
.
event
.
register
(
'disconnected'
,
()
=>
{
...
...
libs/remixd/src/bin/remixd.ts
View file @
78e1a57d
...
@@ -80,6 +80,7 @@ function startService<S extends 'git' | 'folder'> (service: S, callback: (ws: WS
...
@@ -80,6 +80,7 @@ function startService<S extends 'git' | 'folder'> (service: S, callback: (ws: WS
console
.
log
(
e
)
console
.
log
(
e
)
}
}
}
}
process
.
exit
(
0
)
}
}
process
.
on
(
'SIGINT'
,
kill
)
// catch ctrl-c
process
.
on
(
'SIGINT'
,
kill
)
// catch ctrl-c
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment