Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

watch not works if watched glob contains Japanese characters folder name #716

Closed
aruku7230 opened this issue May 12, 2018 · 4 comments
Closed

Comments

@aruku7230
Copy link

  • chokidar: 2.0.3
  • gulp: 4.0.0
const watchGlob = 'フォルダ/**/*';

gulp.task('test', () => {
    const chokidar = require('chokidar');
    chokidar.watch(watchGlob, (done) => { done() })
            .on('change', (path) => {
                console.log(`File ${path} changed.`);
            });
});

Run gulp test and change フォルダ/foo file. log message "File フォルダ/foo changed" will not show.

Also reported a issue in gulp.

@es128
Copy link
Contributor

es128 commented May 14, 2018

Can't do anything here. Needs to be resolved in micromatch/micromatch#127

@pe8ter
Copy link

pe8ter commented Nov 18, 2018

See micromatch/nanomatch#18.

@jonschlinkert
Copy link

Got it, working on it gulpjs/gulp#2153 (comment) (unless someone wants the bounty, please notify me ASAP).

@paulmillr
Copy link
Owner

Update to Chokidar v3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants