Skip to content

Commit f73da46

Browse files
committed
增加 protractor 的 watch mode 設定
angular/angular-cli#2861 (comment)
1 parent 457624f commit f73da46

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
"main": "protractor.conf.js",
66
"scripts": {
77
"postinstall": "webdriver-manager update",
8+
"e2e": "protractor protractor.conf.js",
9+
"e2e:watch": "watch \"protractor protractor.conf.js\" src --wait=1",
810
"test": "protractor protractor.conf.js"
911
},
1012
"keywords": [],
@@ -19,6 +21,7 @@
1921
"jasmine-spec-reporter": "~4.2.1",
2022
"path": "^0.12.7",
2123
"protractor": "~5.4.0",
24+
"watch": "^1.0.2",
2225
"ts-node": "^8.5.0",
2326
"tslint": "^5.20.1",
2427
"typescript": "^3.7.2"

0 commit comments

Comments
 (0)