makefile: agregar serve-js

This commit is contained in:
void 2021-02-10 16:21:19 +00:00
parent 9da4e7492c
commit c0084d5d1f

View file

@ -17,6 +17,12 @@ assets: public/packs/manifest.json
serve: /etc/hosts 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" 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 # Limpiar los archivos de testeo
clean: clean:
rm -rf _sites/test-* _deploy/test-* rm -rf _sites/test-* _deploy/test-*