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

Add .watch() #97

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

gabifromkorea
Copy link

I was planning to use fs.watch or fs.watchfile on the node api, but there were several problems (eg. called twice), so i found the library 'chokidar' that solved these problems and used it to create a .watch() method

@gabifromkorea gabifromkorea changed the title Feature request in #96 - Add .watch() Add .watch() Feb 10, 2018
@jviotti
Copy link
Member

jviotti commented Mar 23, 2018

Sorry for taking so long. The overall approach looks good, but the tests seem to be failing.

describe('.watch()', function() {

// Help .watch() to detect storage changing by .set()
function help_detect_set(key, json, options, callback) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we use camel-case as in the other areas of the code?

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

Successfully merging this pull request may close these issues.

None yet

2 participants