Skip to content

Commit 64fd8f4

Browse files
chore(docs): mentioning to delete the cache file (#1350)
* chore(docs): mentioning to delete the cache file because of errors on the console * chore: restructured that content again * Update packages/docs/src/docs/editing-source-files.md Co-authored-by: Josef Bredreck <slime.games@outlook.de> Co-authored-by: Josef Bredreck <slime.games@outlook.de>
1 parent a4448e6 commit 64fd8f4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/docs/src/docs/editing-source-files.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ In the Node version of Pattern Lab you can modify the following configuration op
7777
}
7878
```
7979

80+
## Problems after changing the structure
81+
82+
If you're doing bigger changes, especially to the file and folder structure, and recognize some errors on the console like, e.g. `TypeError: Cannot read property 'render' of undefined` or `Error building BuildFooterHTML`, it's recommended to stop pattern lab, delete the cache file `dependencyGraph.json` within the root of the project and start pattern lab again, as these changes might conflict with the existing cache structures.
83+
8084
## Watching for Source File Changes
8185

82-
Manually generating the Pattern Lab website after each change can be cumbersome. The Node version of Pattern Lab comes with the ability to watch files in the `./source/` directory for changes and re-generate the site automatically. The Pattern Lab website can also be automatically reloaded..
86+
Manually generating the Pattern Lab website after each change can be cumbersome. The Node version of Pattern Lab comes with the ability to watch files in the `./source/` directory for changes and re-generate the site automatically. The Pattern Lab website can also be automatically reloaded.

0 commit comments

Comments
 (0)