Closed carlito767 closed 6 years ago
chokidar is the dependency responsible for watching for file changes, see if updating that helps.
I updated all modules (including chokidar 2.0.4) but same issue. Could you confirm you have the problem (to be sure it's not only on my side)?
Yes.
Le sam. 18 août 2018 à 18:56, RblSb notifications@github.com a écrit :
The last working commit for you is this https://github.com/Kode/khamake/commit/668fdaaec20592eee3fd844de9003d79a4dec00e ?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Kode/khamake/issues/155#issuecomment-414071702, or mute the thread https://github.com/notifications/unsubscribe-auth/AabkGLoqDcUmjn5vjVKROoGry6Vtwikjks5uSEdRgaJpZM4WCk1H .
@carlito767 You can try install old chokidar version and set it in package.json for latest khamake, perhaps it will give some results.
When I come back to chokidar@1.7.0, it works. But it fails with the next release (chokidar@2.0.0).
I can not reproduce your problems but this is a good data point. I'll look into removing chokidar, it also has problems with specific chars in paths which haven't been fixed in years.
@carlito767 You might want to check 15 chockidar commits to identify the problem (this is 4 tests if you start from the middle of the groups) https://github.com/paulmillr/chokidar/compare/1.7.0...2.0.0 If you find, report the issue in their repo.
Also, try this khamake branch https://github.com/RblSb/khamake/tree/chokidar_fix
I found that chokidar 2.0 supports only posix slashes, so this actually should help.
I tried your fix and it works! Thanks!
Hi,
I recently updated my project to the latest Kha and the source code is not recompiled on change anymore. Here is the batch file used to build the project:
It seems related to this revision.