Skip to content

Preserve stdin backward compatibility#804

Closed
jeromedalbert wants to merge 1 commit into
ddollar:interactivefrom
jeromedalbert:backward-compatibility
Closed

Preserve stdin backward compatibility#804
jeromedalbert wants to merge 1 commit into
ddollar:interactivefrom
jeromedalbert:backward-compatibility

Conversation

@jeromedalbert

@jeromedalbert jeromedalbert commented Aug 4, 2024

Copy link
Copy Markdown

Do you plan on keeping backward compatibility for feature #803?

If you don't then please close this PR. This means that after upgrading Foreman, foreman start will not boot for users whose Procfile contains tailwindcss --watch or esbuild --watch or any other process that needs an open stdin. They will have to switch to tailwindcss --watch=always, esbuild --watch=forever, or whatever hack they can find (if any) to make their setup work again.

If you plan on keeping backward compatibility, then this PR only closes stdin if the --interactive option is supplied. Otherwise it keeps the original behavior of keeping stdin open.

@jeromedalbert jeromedalbert changed the title Preserve stdin backward compatibility? Preserve stdin backward compatibility Aug 4, 2024
@ddollar

ddollar commented Aug 6, 2024

Copy link
Copy Markdown
Owner

Just tweaked #803 a bit more and included this functionality for backwards-compatibility. Thanks for pointing it out!

@ddollar ddollar closed this Aug 6, 2024
@jeromedalbert jeromedalbert deleted the backward-compatibility branch August 6, 2024 22:43
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.

2 participants