跳到主要内容
CNode

gruntfile中connect插件,实现自动刷新。

问答
Bbehind2发布于 11 年前最后回复 11 年前
138280

untitled1.png 这是配置文件,执行grunt server出现下图 untitled9.png 提示没有static这个方法,我看grunt-contrib-connect的npmjs中的middleware建议使用static和directory, 对这个中间件,表示不是很清楚,麻烦谁来帮忙解答下,谢谢啦。

查看回复

回复 (1)

B
behind2#111 年前

其实就是说,第一个connect中,是没有这个方法的,不知道为啥

参与回复

登录后即可参与回复。登录