-
Notifications
You must be signed in to change notification settings - Fork 0
[Review Only] Landing livedev2 in core #3
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
Conversation
In preparation for landing livedev2 as an alternative implementation, a folder /impls was created under LiveDevelopment folder and a the current implementation moved to a /default folder. Servers folder and LiveDevServerManager keep in their original location since they will be used as shared resources for both implementations.
Make tests run after moving LiveDevelopment to /impls/default
Copy files from njx/brackets-livedev2. Summary of changes to be integrated into brackets core: - require context, module loading, paths were aligned to the new location - preference names and main.js modified to work on top of current LiveDevelopment UI rather than adding a new launch icon - dependencies for NodeSocketTransportDomain were not included (need to run npm install to get it working) At this point, LiveDevelopment implementation can be manually switched by changing the module that is being load at brackets.js: /impls/default/main.js -> /impls/livedev2/main.js
Add livedev.impl preference to let the user switch between 'default' and 'livedev2' implementations.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: I know it's not yours, but this should be aligned better.
|
README.md for livedev2 should be part of this PR as well. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this outdated?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, it is working now, will remove TODO
|
Why we need a copy of |
It now shows the twipsy that informs the user when the session has finished because of the browser/tab has been closed.
|
Closing in favor of #4. Feedback from this review was included but we conclude that this approach is not compatible with extensions that depend on LiveDevelopment. |
Review the Getting Started page
@busykai, please review this PR instead of #2. I have excluded dependencies from NodeSocketTrasnportDomain when integrating livedev2 files which makes that commit able to be reviewed now.
This is an initial review to prepare landing of livedev2 in Brackets core as per njx/brackets-livedev2#24