mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-26 01:16:23 +00:00
makefile: agregar serve-js
This commit is contained in:
parent
9da4e7492c
commit
c0084d5d1f
1 changed files with 6 additions and 0 deletions
6
Makefile
6
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-*
|
||||
|
|
Loading…
Reference in a new issue