Last active
May 25, 2021 03:10
-
-
Save juanhuttemann/bdfeb7e8d3263357f6039e14b8523790 to your computer and use it in GitHub Desktop.
nodemon for Rails
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#instalar nodemon (en la máquina virtual) | |
sudo npm install -g nodemon | |
#copiar nodemon.json al directorio del proyecto | |
#copiar rails.sh al directorio del proyecto | |
#dar permisos de ejecución a rails.sh | |
sudo chmod +x rails.sh | |
#iniciar nodemon | |
nodemon -L --exec "./rails.sh" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"ignore": [ | |
".git", | |
"node_modules/**/node_modules" | |
], | |
"watch": [ | |
"app/controllers/", | |
"app/models/", | |
"app/assets/", | |
"config/", | |
"db/" | |
], | |
"ext": "rb yml js css scss" | |
} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kill -9 `cat tmp/pids/server.pid` | |
echo "" | |
echo "" | |
echo " 0111001101110" | |
echo " 10001110101011000" | |
echo " 01011100100111010000" | |
echo " 10000001101 001" | |
echo " 01110011001" | |
echo " 00000011000" | |
echo " 01001000000 APP READY!!!" | |
echo " 11000110111 Ruby on Rails" | |
echo " 010101101110" | |
echo " 011101000010" | |
echo " 0000001000010" | |
echo " 01000010010000" | |
echo " 100100001001000" | |
echo " 0100100001001000" | |
echo "010010000100100001" | |
echo "0010000100100001tQn" | |
echo "" | |
echo "" | |
rails s -d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment