Skip to content

Commit 34ae1ce

Browse files
committed
pidfile variable
1 parent 17c7616 commit 34ae1ce

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

package.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "http-cache-tests",
3-
"version": "0.4.2",
3+
"version": "0.4.3",
44
"description": "Tests for HTTP caches",
55
"homepage": "https://cache-tests.fyi/",
66
"author": "Mark Nottingham",
@@ -14,7 +14,7 @@
1414
"npm": "^6.14.11"
1515
},
1616
"scripts": {
17-
"server": "node server/server.mjs & echo $! > /tmp/http-cache-test-server.pid",
17+
"server": "node server/server.mjs & echo $! > $npm_package_pidfile",
1818
"cli": "node --no-warnings cli.mjs",
1919
"export": "node --no-warnings export.mjs",
2020
"validate": "node --no-warnings export.mjs validate",
@@ -25,7 +25,8 @@
2525
"protocol": "http",
2626
"port": "8000",
2727
"base": "",
28-
"id": ""
28+
"id": "",
29+
"pidfile": "server.pid"
2930
},
3031
"repository": {
3132
"type": "git",

0 commit comments

Comments
 (0)