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

[0.7.2 regression] Outputs multiple empty lines on <enter> #2

Open
pjg opened this issue May 6, 2021 · 0 comments
Open

[0.7.2 regression] Outputs multiple empty lines on <enter> #2

pjg opened this issue May 6, 2021 · 0 comments

Comments

@pjg
Copy link

pjg commented May 6, 2021

Here's my guard-shell config (https://github.com/pjg/dotfiles/blob/master/.Guardfile#L38-L51):

  guard 'shell' do
    # Restart application server
    watch('Gemfile.lock')                       { |_| `touch tmp/restart.txt` }
    watch(%r{^lib/.*})                          { |_| `touch tmp/restart.txt` }
    watch('config/environments/development.rb') { |_| `touch tmp/restart.txt` }
    watch(%r{^config/locales/.+\.yml$})         { |_| `touch tmp/restart.txt` }
    watch('config/application.yml')             { |_| `touch tmp/restart.txt` }
    watch('config/secrets.yml')                 { |_| `touch tmp/restart.txt` }
    watch('config/settings.yml')                { |_| `touch tmp/restart.txt` }
    watch('config/settings.local.yml')          { |_| `touch tmp/restart.txt` }
    watch(%r{^config/initializers/.+\.rb$})     { |_| `touch tmp/restart.txt` }
  end

When I press <enter> in guard console, it prints 9 newlines:

image

It wasn't the case with 0.7.1.

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

No branches or pull requests

1 participant