Skip to content

Commit

Permalink
Fix shutting down test server on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
localjo committed Dec 19, 2017
1 parent 88a5fea commit 464ba64
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
"test": "npm run lint && run-p test:server test:run",
"test:server": "buster-server -c",
"test:run": "sleep 2 && buster-test && npm run test:end",
"test:end": "kill $(ps aux | grep '[b]uster-server' | awk '{print $2}')",
"test:end": "run-script-os",
"test:end:darwin:linux": "pkill -f buster-server",
"test:end:win32": "tskill node",
"lint": "run-s lint:*",
"lint:css": "stylelint ./web/css/**/*.css",
"lint:js": "eslint .",
Expand Down Expand Up @@ -77,6 +79,7 @@
"postcss-cli": "^4.1.1",
"postcss-import": "^11.0.0",
"postcss-url": "^7.2.1",
"run-script-os": "^1.0.2",
"selenium-server-standalone-jar": "3.0.1",
"stylefmt": "^6.0.0",
"stylelint": "^8.0.0",
Expand Down

0 comments on commit 464ba64

Please sign in to comment.