Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
node-sass
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
楚学文
node-sass
Commits
3b02804b
Commit
3b02804b
authored
Jan 28, 2017
by
Michael Mifsud
Committed by
GitHub
Jan 28, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1873 from xzyfer/faster-watcher
Make the watcher more responsive to child changes
parents
167812b6
38fe5c69
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
node-sass
bin/node-sass
+4
-1
No files found.
bin/node-sass
View file @
3b02804b
...
...
@@ -268,7 +268,10 @@ function watch(options, emitter) {
// Add children to watcher
graph
.
visitDescendents
(
file
,
function
(
child
)
{
gaze
.
add
(
child
);
if
(
watch
.
indexOf
(
child
)
===
-
1
)
{
watch
.
push
(
child
);
gaze
.
add
(
child
);
}
});
files
.
forEach
(
function
(
file
)
{
if
(
path
.
basename
(
file
)[
0
]
!==
'_'
)
{
...
...
Write
Preview
Markdown
is supported
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