We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Cygwin allows using Unix paths under Windows.
$ json-server --watch api-mock/data.json --port 3000
json-server
api-mock/data.json
chokidar
change
api-mock\data.json
Possible solution will require a change in src/cli/run.js
chokidar .watch(path.dirname(source)) .on('change', function (file) { if (path.resolve(file) === path.resolve(source)) { // resolve paths
The text was updated successfully, but these errors were encountered:
Closing since the fix has been merged. Thank you again.
Sorry, something went wrong.
No branches or pull requests
Cygwin allows using Unix paths under Windows.
json-server
will attempt to watchapi-mock/data.json
chokidar
inchange
event will refer to a change inapi-mock\data.json
, preventingjson-server
from restarting the serverPossible solution will require a change in src/cli/run.js
The text was updated successfully, but these errors were encountered: