-
-
Notifications
You must be signed in to change notification settings - Fork 582
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
a first bug report template
- Loading branch information
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**Versions (please complete the following information):** | ||
- Chokidar version [e.g. 2.0.4, or commit hash] | ||
- Node version [e.g. 10.4.1] | ||
- OS version: [e.g. Ubuntu 16.04, or Windows 10] | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior. | ||
|
||
Ideally prove a problem by isolating and making it reproducible with a very short sample program, which you could paste here: | ||
|
||
``` | ||
var chokidar = require('chokidar'); | ||
var fs = require('fs'); | ||
// One-liner for files and directories starting with 'test' | ||
chokidar.watch('test*', {}).on('all', (event, path) => { | ||
console.log(event, path); | ||
}); | ||
fs.writeFileSync('test.txt', 'testing 1'); | ||
// In a comment describe expected output versus observed problem | ||
``` | ||
|
||
Most valuable could be one or more test cases for [test.js](https://github.com/paulmillr/chokidar/blob/master/test.js) to demonstrate the problem. | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expect to happen. | ||
|
||
**Additional context** | ||
Add any other context about the problem here. | ||
Optionally nice to know what project you are working on. |