Skip to content

Commit 496a17b

Browse files
author
Nicholas Pape
authored
Fix web-library-buld's gulp serve command (microsoft#286)
* Make sure the server is started before watching for changes * Changefile
1 parent f9559c1 commit 496a17b

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"changes": [
3+
{
4+
"packageName": "@microsoft/web-library-build",
5+
"comment": "Fix an issue with 'gulp serve' where the server was not being launched.",
6+
"type": "patch"
7+
}
8+
],
9+
"packageName": "@microsoft/web-library-build",
10+
"email": "nickpape@users.noreply.github.com"
11+
}

core-build/web-library-build/src/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,12 @@ task('test-watch', watch(sourceMatch, testTasks));
6666

6767
// For watch scenarios like serve, make sure to exclude generated files from src (like *.scss.ts.)
6868
task('serve',
69+
serial(
70+
serve,
6971
watch(
7072
sourceMatch, serial(preCopy, sass, compileTsTasks,
7173
postCopy, webpack, postProcessSourceMapsTask, reload)
72-
)
74+
))
7375
);
7476

7577
task('default', defaultTasks);

0 commit comments

Comments
 (0)