From c0084d5d1fa6461264007a4d1ac695a8b6f9bee8 Mon Sep 17 00:00:00 2001 From: void Date: Wed, 10 Feb 2021 16:21:19 +0000 Subject: [PATCH] makefile: agregar serve-js --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index d390b7e..7e5cf70 100644 --- a/Makefile +++ b/Makefile @@ -17,6 +17,12 @@ assets: public/packs/manifest.json serve: /etc/hosts bundle exec rails s -b "ssl://0.0.0.0:3000?key=../sutty.local/domain/$(SUTTY).key&cert=../sutty.local/domain/$(SUTTY).crt" +# Servir JS con el dev server. +# Esto acelera la compilaciĆ³n del javascript, tiene que correrse por separado +# de serve. +serve-js: /etc/hosts + bundle exec ./bin/webpack-dev-server + # Limpiar los archivos de testeo clean: rm -rf _sites/test-* _deploy/test-*