Created
May 16, 2019 08:08
-
-
Save MahdiY/b6e55fe7b6366f13e162791e7af883d5 to your computer and use it in GitHub Desktop.
Serve laravel, npm run watch and repeated git pull
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
git pull | |
TIMEOUT /T 30 /NOBREAK | |
git_pull.bat |
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 cmd /C "php artisan serve" | |
start cmd /C "npm run watch" | |
start cmd /C "git_pull.bat" | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Laravel development tools for windows.
php artisan serve
commandnpm run watch
git pull
command every 30 secondsJust put
serve.bat
andgit_pull.bat
files in your project root and openserve.bat
! Finish!