mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Tidy up compiling helper
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user