feat: missed script for yarn reset #1013
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
안녕하세요😊 아래 스크린샷과 같이 기존
README.md에 존재하는yarn reset명령어에 대한 script를 추가하였습니다.기존에는
package.json의 script 상에yarn reset이 존재하지 않아, 해당 명령어 사용이 불가능하였습니다.수정 내역은 아래와 같습니다.
rm -rf node_modules/.cacheyarn dev를 통한 로컬 서버는 아래 스크린샷과 같이node_modules/.cache디렉토리에서 캐싱된 파일을 참조합니다. 해당 디렉토리를 삭제하여야만 기존에 캐싱된 파일이 사용되지 않고, 새롭게 생성된 캐시 파일이 사용됨을 확인하였습니다.rm -rf .next.next디렉토리를 삭제하여, Next.js 프로젝트의 빌드 캐시를 삭제합니다. 이 명령어는.next디렉토리를 삭제하여 캐시를 지우고, 다음 빌드 시 새로 생성하게 합니다.yarn cache cleanProgress