gstroup / grunt-apimocker Goto Github PK
View Code? Open in Web Editor NEWgrunt plugin to run apimocker
License: MIT License
grunt plugin to run apimocker
License: MIT License
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
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.