From 1830689a19849b107a3e01c68d1f17ba4b97297a Mon Sep 17 00:00:00 2001 From: Matchu Date: Thu, 2 Nov 2023 16:52:25 -0700 Subject: [PATCH] Fix bin/dev to use the right settings in development Oh yeah, I didn't catch that `bin/dev` calls the `Procfile` which in turn calls `yarn build --watch`, which leaves out the important `--public-path=/dev-assets` argument! Calling `yarn dev` instead keeps us consistent! --- Procfile.dev | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Procfile.dev b/Procfile.dev index faaa7582..a55427be 100644 --- a/Procfile.dev +++ b/Procfile.dev @@ -1,2 +1,2 @@ web: unset PORT && env RUBY_DEBUG_OPEN=true bin/rails server -js: yarn build --watch +js: yarn dev