Search

PHP Storm 저장시 크롬 새로고침

PHP Storm 저장시 크롬(Chrome) 자동 새로고침
현재는 맥에서만 테스트를 해봤으며, 윈도우에서는 동작하지 않을 수 있음을 미리 알려드립니다.
Preferences → Tools → FileWatcher
1.
+<custom> 메뉴 클릭
2.
등록 정보
Name
ChromeReload
File type
Any
Program
osascript
Arguments
-e "tell application \"Google Chrome\"" -e "tell active tab of window 1 to reload" -e "end tell"
Plain Text
복사
Working directory
$ProjectFileDir$
Advanced Options → Show Console
Never
3.
추가 후 Level : ProjectGlobal 변경
Preferences → Tools → Actions on Save
1.
FileWatcher 체크 여부 확인
2.
APPLY 클릭 후 OK 클릭
프로젝트에서 파일변경시 저장 후 동작이 잘 되는지 확인하시면 되며,
프로젝트별로 사용여부 체크를 해야 동작합니다.
ⓒ VeriCras 2024
vericras@gmail.com