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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --interactive mode #91

Merged
merged 1 commit into from
Nov 17, 2016
Merged

Add --interactive mode #91

merged 1 commit into from
Nov 17, 2016

Conversation

as-cii
Copy link
Contributor

@as-cii as-cii commented Nov 17, 2016

This adds a new --interactive option which is similar to --debug --renderer but does not close the Electron window when tests finish running. Tests can be re-run by reloading the window and all output goes to the dev tools console rather than the terminal.

This streamlines the workflow when making heavy use of the dev tools during TDD sessions. Objects such as DOM nodes can be visualized in the console more easily than they can in the terminal, and the feedback loop is shorter when you only need to reload the window to re-run tests.

I have allowed edits from maintainers, so feel free to adjust this. Thanks! 馃檱

This adds a new `--interactive` option which is similar to `--debug
--renderer` but does not close the Electron window when tests finish
running. Tests can be re-run by reloading the window and all output goes
to the dev tools console rather than the terminal.

This streamlines the workflow when making heavy use of the dev tools
during TDD sessions. Objects such as DOM nodes can be visualized in the
console more easily than they can in the terminal, and the feedback loop
is shorter when you only need to reload the window to re-run tests.

Signed-off-by: Nathan Sobo <nathan@github.com>
@inukshuk
Copy link
Collaborator

Pretty cool, thanks!

@inukshuk inukshuk merged commit 087872a into jprichardson:master Nov 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants