From f5232ab3d91741d7bb3eb1e16b7f7c4b5e38c461 Mon Sep 17 00:00:00 2001 From: Baylor Weathers Date: Tue, 12 Sep 2023 09:40:58 -0500 Subject: [PATCH] fix bug: call `bun run build` when appending Procfile.dev --- lib/install/bun/install.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/install/bun/install.rb b/lib/install/bun/install.rb index 9fc69a4..e0dc771 100644 --- a/lib/install/bun/install.rb +++ b/lib/install/bun/install.rb @@ -1,7 +1,7 @@ require 'json' if Rails.root.join("Procfile.dev").exist? - append_to_file "Procfile.dev", "js: bun build --watch\n" + append_to_file "Procfile.dev", "js: bun run build --watch\n" else say "Add default Procfile.dev" copy_file "#{__dir__}/Procfile.dev", "Procfile.dev"