We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a298bdc commit f56ba66Copy full SHA for f56ba66
2 files changed
packages/core/src/lib/server.js
@@ -36,6 +36,30 @@ const server = patternlab => {
36
patternlab.config.paths.public.root
37
)
38
);
39
+ defaults.assets = [
40
+ path.resolve(
41
+ path.join(
42
+ process.cwd(),
43
+ patternlab.config.paths.source.js,
44
+ '**',
45
+ '*.js' // prevent preprocessors like typescript from reloading
46
+ )
47
+ ),
48
49
+ path.join(process.cwd(), patternlab.config.paths.source.images)
50
51
52
+ path.join(process.cwd(), patternlab.config.paths.source.fonts)
53
54
55
56
57
+ patternlab.config.paths.source.css,
58
59
+ '*.css' // prevent preprocessors from reloading
60
61
62
+ ];
63
64
// allow for overrides should they exist inside patternlab-config.json
65
const liveServerConfig = Object.assign(
0 commit comments