-
Notifications
You must be signed in to change notification settings - Fork 8
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
Update json file #18
Comments
@courgette var jsonServer = require("gulp-json-srv");
var server = jsonServer.create();
var dbObj = server.router.db.getState(); // <-- this will give you whole DB at the moment I understand now that this is the use case that I missed, and saving data back to file is good, I think it's candidate for feature request. |
Created #19 for feature request. |
@courgette Also notice that for example above |
Ok thank you. The watch task work only on the static file right ? not in datas into the application. |
@courgette I'm afraid I don't understood your question right, but anyway, |
Ok thank you, i try that. |
Hi,
(sorry for my english)
I have a gulp task to serve my json file into my folder /datas/data.json and when i start gulp and add some datas, all work well. I stopped my gulp task, open /datas/data.json and all datas added are gone. There is an option to save my data into my static file ?
Thanks you
The text was updated successfully, but these errors were encountered: