Grunt does not start json_server task from grunt-json-server

I use the configuration presented on the npm page, but when I try to start a task using grunt.run.task (['json_server']) or concurrent: { server: { tasks [ 'json_server'] } } , grunt does not even print the name tasks in the console. This does not even give me an error if I delete the db file that it is trying to point to.

+4
source share
1 answer

See: https://github.com/tfiwm/grunt-json-server/issues/4

The library uses registerMultiTask; when it was changed to registerTask, it worked fine for me.

+1
source

All Articles