mirror of
https://github.com/locomotivemtl/locomotive-boilerplate.git
synced 2026-01-15 00:55:08 +08:00
committed by
GitHub
parent
95caf9ebb5
commit
e9dbb03207
@@ -70,6 +70,7 @@ function configureServer(server, { paths, tasks }) {
|
||||
});
|
||||
|
||||
// Watch source concats
|
||||
if (tasks.concats?.length) {
|
||||
server.watch(
|
||||
resolve(
|
||||
tasks.concats.reduce(
|
||||
@@ -80,6 +81,7 @@ function configureServer(server, { paths, tasks }) {
|
||||
).on('change', () => {
|
||||
concatFiles(...developmentConcatFilesArgs);
|
||||
});
|
||||
}
|
||||
|
||||
// Watch source styles
|
||||
server.watch(
|
||||
|
||||
Reference in New Issue
Block a user