freeCodeCamp/guide/chinese/miscellaneous/what-is-grunt/index.md

5 lines
535 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
title: What Is Grunt
localeTitle: 什么是咕噜声
---
无论何时创建新的路由或指令都必须在_grunt_终端窗口中使用`control+c`来退出grunt进程并重新运行`grunt serve`以便将新的路由/指令包含在项目的**index.html中** 。有时_grunt_可能有点吝啬如果它认为你的项目有问题就拒绝运行。显然你应该尝试解决这个问题但是grunt的错误不是很有帮助所以不要太担心 - grunt通常仍然可以使用命令`grunt serve --force`完全运行。