diff --git a/README.md b/README.md index 5816173..bae34e5 100644 --- a/README.md +++ b/README.md @@ -202,6 +202,12 @@ To enable `hash`, you must first disable the `wildcard` option. When enabled, `h **Note:** Once you generate the hashes using the `npm run hash` script, you need to make sure it's rerun after each file modification. +### Example usage of `npm run hash` + +```sh +npm run hash 'test/static/,test/static-dotfiles' true '*.css' +``` + #### Example: ```js diff --git a/lib/hash-build.js b/lib/hash-script.js similarity index 100% rename from lib/hash-build.js rename to lib/hash-script.js diff --git a/package.json b/package.json index bca80dc..37dd62a 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "test": "npm run test:unit && npm run test:typescript", "test:typescript": "tsd", "test:unit": "tap", - "hash": "node lib/hash-build.js", + "hash": "node lib/hash-script.js", "example": "node example/server.js" }, "repository": {