Last active
March 17, 2016 15:28
-
-
Save bgrins/6595824 to your computer and use it in GitHub Desktop.
Start firefox in a loop, allowing you to quit and have it auto rebuild devtools and restart.
This file contains 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
# Start firefox in a loop, allowing you to quit and have it auto rebuild devtools and restart. | |
if [ -f mach ]; | |
then | |
echo "mach exists. Starting loop." | |
trap "exit" SIGHUP SIGINT SIGTERM | |
while true | |
do | |
./mach build faster | |
./mach run --devtools --jsconsole -P dev | |
done | |
else | |
echo "mach does not exist in current directory. Bailing out." | |
fi |
It's nice to add a cd
at the top to move into the folder
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@helenvholmes you can use
--jsdebugger
to open Browser Toolbox