Skip to content

Commit f32363c

Browse files
authored
feat: enable Markdown file watching (#25)
1 parent 49f0415 commit f32363c

File tree

7 files changed

+301
-83
lines changed

7 files changed

+301
-83
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Note: after extracting the tests, this preprocessor sets [@cypress/fiddle](https
5757

5858
## Debugging
5959

60-
To see log messages from this module, run with `DEBUG=cypress-markdown-preprocessor` environment variable
60+
To see log messages from this module, run with `DEBUG=cypress-markdown-preprocessor` environment variable. To see ever more debug messages enable the verbose logging `DEBUG=cypress-markdown-preprocessor,cypress-markdown-preprocessor:verbose`.
6161

6262
## Small print
6363

cypress/integration/spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Cypress Markdown spec
22

3-
<!-- fiddle Example -->
3+
<!-- fiddle First example -->
44
```html
55
<div id="hello">Hello</div>
66
```

package-lock.json

Lines changed: 224 additions & 54 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
"version": "0.0.0-development",
44
"description": "Use Markdown files as Cypress specs",
55
"main": "src/index.js",
6-
"files": ["src"],
6+
"files": [
7+
"src"
8+
],
79
"scripts": {
810
"cy:open": "cypress open",
911
"cy:run": "cypress run",
@@ -29,6 +31,7 @@
2931
"@cypress/browserify-preprocessor": "3.0.1",
3032
"@cypress/fiddle": "1.19.2",
3133
"@textlint/markdown-to-ast": "6.2.5",
34+
"chokidar": "3.5.1",
3235
"common-tags": "1.8.0",
3336
"debug": "4.3.1",
3437
"temp-write": "4.0.0"

renovate.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
],
2323
"excludePackagePatterns": [
2424
"cypress",
25+
"chokidar",
26+
"temp-write",
27+
"@textlint/markdown-to-ast",
2528
"@cypress/fiddle",
2629
"semantic-release"
2730
],

0 commit comments

Comments
 (0)