如何使用featherjs设置实时代码重新加载,有点像流星?
答案 0 :(得分:1)
步骤1.在您的app目录中安装$excel = New-Object -comobject Excel.Application
$excel.Visible = $True
$workbook = $excel.Workbooks.Add()
$workbook.Worksheets.Item(1).Hyperlinks.Add($workbook.Worksheets.Item(1).Cells.Item(1,1) ,"" , "Sheet2!C4", "", "Link to sheet2")
:
nodemon
步骤2.将以下内容添加到npm install --save-dev nodemon
文件的脚本部分:
package.json
步骤3.使用以下命令运行脚本:
...
},
"scripts": {
"test": "npm run eslint && npm run mocha",
"dev": "./node_modules/nodemon/bin/nodemon.js src/",
"eslint": "eslint src/. test/. --config .eslintrc.json",
"start": "node src/",
"mocha": "mocha test/ --recursive"
}
...
答案 1 :(得分:1)
Nodemon通过CLI自动安装。要运行它,只需键入npm run dev
。