From 29110d707e37aa49fded8caa9d08e35f91d86d8c Mon Sep 17 00:00:00 2001 From: Sahil Rajput Date: Fri, 19 Aug 2022 18:53:38 +0530 Subject: [PATCH] Update README.md --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 272467e..2fc5cb5 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,8 @@ module.exports = { files?: string[]; // Files, directories or glob patterns to watch for changes. (defaults to `[config.paths.sources]`, which itself defaults to the `contracts` dir) ignoredFiles?: string[]; // Files, directories or glob patterns that should *not* be watched. verbose?: boolean; // Turn on for extra logging + clearOnStart?: boolean; // Turn on to clear the logs (of older task runs) each time before running the task + start?: string; // Run any desirable command each time before the task runs } } }; @@ -80,6 +82,8 @@ module.exports = { files: ['./contracts'], ignoredFiles: ['**/.vscode'], verbose: true, + clearOnStart: true, + start: 'echo Running my compilation task now..' }, ci: { tasks: [ @@ -130,7 +134,9 @@ module.exports = { test: { tasks: [{ command: 'test', params: { testFiles: ['{path}'] } }], files: ['./test/**/*'], - verbose: true + verbose: true, + clearOnStart: true, + start: 'echo Running my test task now..', } } }