Tidy up compiling helper

This commit is contained in:
Matt-Yorkley
2021-07-22 10:18:18 +01:00
parent b63eda8adf
commit ac64908c2b

View File

@@ -11,13 +11,11 @@ RSpec.configure do |config|
# We can use webpack-dev-server for tests, too!
# Useful if you working on a frontend code fixes and want to verify them via system tests.
if Webpacker.dev_server.running?
$stdout.puts "\n⚙️ Webpack dev server is running! Skip assets compilation.\n"
next
else
$stdout.puts "\n🐢 Precompiling assets.\n"
$stdout.puts "\n Precompiling assets.\n"
# The code to run webpacker:compile Rake task
# ...
Webpacker.compile
end
end
end