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

Pretty print boot script #315

Closed
martinklepsch opened this issue Oct 25, 2015 · 6 comments
Closed

Pretty print boot script #315

martinklepsch opened this issue Oct 25, 2015 · 6 comments

Comments

@martinklepsch
Copy link
Member

Not sure if possible but it would be handy for debugging if the boot script generated (shown when running boot -b) would be pretty printed.

@micha
Copy link
Contributor

micha commented Oct 25, 2015

@martinklepsch if we pretty printed it the line numbers wouldn't match up anymore, though

@martinklepsch
Copy link
Member Author

So @micha said pretty printing would add some 100ms to each invocation. Probably we want to avoid that but also some improvement would be nice. Maybe we just insert linebreaks after every n characters? 😆

@micha
Copy link
Contributor

micha commented Oct 27, 2015

@martinklepsch maybe an option to enable it?

@martinklepsch
Copy link
Member Author

@micha that would be ideal but where would that happen? I thought that because it's so early in the process it might be hard to enable "on-demand".

@micha
Copy link
Contributor

micha commented Oct 27, 2015

@martinklepsch maybe something like

$ boot --pretty-print watch cljs

@micha
Copy link
Contributor

micha commented Oct 27, 2015

And perhaps a BOOT_PRETTY_PRINT env var as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants