We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2c49ce8 + 143e175 commit 97fa276Copy full SHA for 97fa276
cli.js
@@ -15,6 +15,8 @@ var opts = {}
15
16
opts.port = program.port || '5776'
17
18
+opts.path = program.path
19
+
20
opts.dir = program.dir || path.resolve('.')
21
22
if (program.poll) {
server.js
@@ -32,8 +32,10 @@ module.exports = (opts, cb) => {
32
const pathToWatch = opts.path || baseURL || '.'
33
let ignoredPaths = [
34
/[\/\\]\./,
35
+ // Ignore relative, top-level dotfiles as well (e.g. '.gitignore').
36
+ /^\.[^\/\\]/,
37
'node_modules/**',
- baseURL + '/jspm_packages/**',
38
+ (baseURL ? baseURL + '/' : '') + 'jspm_packages/**',
39
'.git/**'
40
]
41
let chokidarOpts = Object.assign({
0 commit comments