因为项目刚从eclipse迁移到idea下开发,涉及到代码热部署,在试用了spring-dev-tools后,感觉程序能自动重新加载,但是整个项目会自动重启,等待时间还是较长,所以最后还是选用了JRebel。用JRebel不会自动重启整个项目,从控制台信息来看应该是真正去load和替换有变化的class和resource。
具体安装和设置步骤如下:
总角之宴 言笑晏晏
缺失模块。
1、请确保node版本大于6.2
2、在博客根目录(注意不是yilia根目录)执行以下命令:
npm i hexo-generator-json-content --save
3、在根目录_config.yml里添加配置:
jsonContent: meta: false pages: false posts: title: true date: true path: true text: false raw: false content: false slug: false updated: false comments: false link: false permalink: false excerpt: false categories: false tags: true