Language/go lang
go lang - fresh를 사용해 보자.
태하팍
2017. 2. 15. 17:29
반응형
이번 내용은 go get 이라는 명령어를 통해 Fresh 라는 것을 사용해 보자.
Fresh is a command line tool that builds and (re)starts your web application everytime you save a Go or template file.
저장 하면 바로바로 적용이 된다.
https://github.com/pilu/fresh 에서 README.md를 참조!
Installation
go get github.com/pilu/fresh
실행은 어플리케이션이 있는 곳으로 이동한 뒤에 fresh 라는 명령어를 쳐주면 서버가 기동 되어진다.
fresh의 프로세스를 kill을할 때 유의 점으로는 fresh 말고도 runner_build라는것을 kill 해주어야 한다.
반응형