5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-14 17:11:41 +00:00

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
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-*