pezra / rspec-mode

An RSpec minor mode for Emacs
258 stars 112 forks source link

How to get multiple compilation buffers? #218

Open dolzenko opened 7 months ago

dolzenko commented 7 months ago

Enabled the option (rspec-allow-multiple-compilation-buffers) but when I run verify the output still goes into the *rspec-compilation*. On the contrary I wanted new buffer to be created, probably someone can advice.

Cheers, and big big thank you for the great package!

dgutov commented 7 months ago

rspec-allow-multiple-compilation-buffers is supposed to create separate buffers when there is an existing rspec process running already.

If you want a new buffer name every time, I suppose one way to do that is to add advice to compilation-buffer-name.

Alternatively, switch on the above variable and advise/rewrite rspec-compilation-buffer-name.