Git Product home page Git Product logo

grunt-apimocker's People

Contributors

gstroup avatar sviatoslav-lebediev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

grunt-apimocker's Issues

I can't keep him running with my node server

How Can I start the task on watch with my node?
Which port I have to choose in my config.json?

When I do: $ grunt apimocker it starts successfully. But after it the task stops.

I would be very thankful for your help.
I followed all your instructions but it doesnt work.

Kind regards,
Kevin

EADDRINUSE when grunt-apimocker started again.

I am integrating grunt-apimocker with a yeoman man scaffolded angular project. I added the apimocker config file to the watcher's list. The idea is once the config file is changed, the watcher will run an associated grunt task again.

However, when I actually change the config file during run-time. The console has the following error message printed out "EADDRINUSE". I suspected the last apimocker server hasn't been terminated properly causing this error message.

Running "apimocker" task
Starting apimocker server
Loading config file: /apimocker.json
Set route: GET first : king.json 20 ms
Set route: GET service/instance : instance/instance.json 500 ms
Mock server listening on port 7878
Fatal error: listen EADDRINUSE

Is there any method to turn down the last apimocker properly in my situation?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.