Skip to content

Commit ecc6671

Browse files
committed
fix(watcher): remove greedy regexes - fixes #1490
1 parent fa7e791 commit ecc6671

2 files changed

Lines changed: 16 additions & 4 deletions

File tree

lib/cli/transforms/addDefaultIgnorePatterns.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ import {List} from "immutable";
33
const defaultIgnorePatterns = [
44
/node_modules/,
55
/bower_components/,
6-
/\.sass-cache/,
7-
/\.vscode/,
8-
/\.git/,
9-
/\.idea/
6+
'.sass-cache',
7+
'.vscode',
8+
'.git',
9+
'.idea',
1010
];
1111

1212
export function addDefaultIgnorePatterns(incoming) {
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
6+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
7+
<title>Document</title>
8+
</head>
9+
<body>
10+
<h1></h1>
11+
</body>
12+
</html>

0 commit comments

Comments
 (0)