Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Toolchain
sgc
Commits
74d98bdd
Commit
74d98bdd
authored
Aug 31, 2018
by
Philipp Nowinski
Browse files
[FEATURE] make svg changes trigger css compilation
parent
7b99b8b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/tasks/watch.js
View file @
74d98bdd
...
...
@@ -28,6 +28,7 @@ module.exports = class Watch extends Task {
// get a glob for each extension that shall be watched
this
.
_config
.
extensions
.
forEach
(
_extension
=>
{
globs
.
push
(
this
.
_getGlobFor
(
_extension
,
`
${
this
.
_config
.
directories
.
sass
}
/**/*.scss`
));
globs
.
push
(
this
.
_getGlobFor
(
_extension
,
`
${
this
.
_config
.
directories
.
svg
}
/**/*.svg`
));
});
// assemble information about which files need to be watched
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment