【发布时间】:2014-11-05 06:55:59
【问题描述】:
我正在使用 nodeJS 来自动化我的 javascript web 应用程序开发,并且我始终必须确保该应用程序在所有浏览器中都能正常工作,包括 IE >=8,现在我在我的笔记本电脑上安装了 IE10,并且我正在使用 grunt-contrib-connect包以使用这样的连接任务在多个浏览器中打开应用程序
connect: {
server: {
options: {
keepalive: true,
port: 3001,
hostname: 'localhost',
base: '.',
index: 'fab_1-3.app.htm',
open: {
target: 'http://localhost:3001/fab_1-3.app.htm',
appName: 'iexplore'
}
}
}
}
现在,我希望它在 IE 中打开并指定文档模式和浏览器模式(使用 nodeJS/grunt),是否可以这样做?
提前致谢!
【问题讨论】:
标签: node.js gruntjs grunt-contrib-connect