2
Windows에서 우분투의 Bash에서 이와 같은 꿀꺽 꿀꺽한 작업;gulp.watch 또는 fs.watch가 Windows의 Ubuntu에서 Bash에서 작동하지 않는 이유는 무엇입니까?
gulp.task('default', function() {
gulp.watch('./', function() {console.log('change!')});
});
또는 fs.watch
을 노드에서 직접 호출하십시오.
node -e "require('fs').watch('./')"
모두 다음과 같이 실패합니다.
Error: watch ./ EPERM
at exports._errnoException (util.js:1012:11)
at FSWatcher.start (fs.js:1429:19)
at Object.fs.watch (fs.js:1456:11)
at [eval]:1:15
at ContextifyScript.Script.runInThisContext (vm.js:25:33)
at Object.exports.runInThisContext (vm.js:77:17)
at Object.<anonymous> ([eval]-wrapper:6:22)
at Module._compile (module.js:541:32)
at bootstrap_node.js:315:29
at _combinedTickCallback (internal/process/next_tick.js:67:7)
는 어떻게 Windows에서 우분투에 배쉬에서 gulp.watch
을 사용할 수 있습니다 ?
2017이 빌드가 아직 출시되었습니다 언젠가 초기에 일반에 공개되도록 설정되어 같은데? –