Skip to content

Commit f05e770

Browse files
author
Ben Zörb
committed
feat(scripts): adds watch script to package.json
1 parent 2250e49 commit f05e770

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/create-wekit-app/create-app.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,9 @@ export async function createApp({ appPath }: { appPath: string }): Promise<void>
209209
start: 'hugo server --disableFastRender',
210210
prebuild: 'npm run content',
211211
build: 'hugo --gc --minify --environment production',
212+
'watch:hugo': 'hugo server --watch --noHTTPCache',
213+
'watch:content': 'cssg watch',
214+
watch: 'run-p watch:content watch:hugo',
212215
scaffold: 'node tools/hygen scaffold new',
213216
'storybook:build': 'hugo --gc --environment storybook',
214217
'storybook:watch': 'hugo --gc --environment storybook --watch',

0 commit comments

Comments
 (0)