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

Aemsync throws exception after file is changed #20

Closed
viniciusdiogo opened this issue Aug 31, 2016 · 2 comments
Closed

Aemsync throws exception after file is changed #20

viniciusdiogo opened this issue Aug 31, 2016 · 2 comments
Labels
Milestone

Comments

@viniciusdiogo
Copy link

I installed the latest version (v.1.1.1) of aemsync and after starting aemsync, when I change a file to be synchronized, it throws the exception:
Note: In version (v1.1.0) occurs the same problem, but in (v1.0.2) worked.

Awaiting changes ...
/usr/local/lib/node_modules/aemsync/node_modules/simple-watcher/index.js:35
     callback(filePath)
     ^
TypeError: callback is not a function
   at /usr/local/lib/node_modules/aemsync/node_modules/simple-watcher/index.js:35:7
   at FSReqWrap.oncomplete (fs.js:82:15)

Environment: Node - v4.2.6 and Linux 4.4.0-34-generic #53-Ubuntu

@gavoja gavoja added this to the 0.2.0 milestone Sep 12, 2016
@gavoja gavoja added the bug label Sep 12, 2016
@gavoja
Copy link
Owner

gavoja commented Sep 12, 2016

It would appear the fallback recursive watcher is buggy. To be confirmed and fixed.

@viniciusdiogo
Copy link
Author

Hi, @gavoja the fix commit on https://github.com/gavoja/simple-watcher resolved this issue. Thanks.

gavoja added a commit that referenced this issue Jun 7, 2017
- #19
- #20
- #24
- Replaced anymatch with micromatch
- Introduced NPM's new package-lock.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants