티스토리 뷰
아래의 명령을 이용하여 fresh를 설치 한다
go get github.com/pilu/fresh
그리고 해당 프로젝트 폴더로 이동후 fresh를 실행 한다.
(내 웹 프로젝트가 test 라면 아래와 같이 test 폴더로 이동후 fresh를 실행하면 아래야 같이 메시지가 나온다.)
C:\work\src\test>fresh 16:56:36 runner | InitFolders 16:56:36 runner | mkdir ./tmp 16:56:36 watcher | Watching . 16:56:36 watcher | Watching templates 16:56:36 main | Waiting (loop 1)... 16:56:36 main | receiving first event / 16:56:36 main | sleeping for 600 milliseconds 16:56:37 main | flushing events 16:56:37 main | Started! (12 Goroutines) 16:56:37 main | remove tmp\runner-build-errors.log: The system cannot find the file specified. 16:56:37 build | Building... 16:56:38 runner | Running... 16:56:39 main | -------------------- 16:56:39 main | Waiting (loop 2)...
위와 같이 나왔다면 해당 웹 프로젝트의 소스 파일을 추가/수정/삭제를 하면 프로젝트가 다시 컴파일 되고 재실행 된다.
'프로그래밍 > Go' 카테고리의 다른 글
[Windows] GO로 개발한 어플 실행 시 Console 윈도우 숨기기 (0) | 2018.08.21 |
---|---|
Golang HTTPS/TLS 예제 (0) | 2018.07.10 |
[windows] cmd에서 ansi color 활성화 방법 (0) | 2018.07.03 |
[bcrypt] 비밀번호 생성, 확인 (0) | 2015.11.12 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday