Giter Club home page Giter Club logo

karma-msl's People

Contributors

kood1 avatar ransha avatar seoj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

kood1 ransha seoj asnz

karma-msl's Issues

Auto set port number for msl server and proxy

Modify index.js to allow random setting of port number for msl server using an available port. After this is configured, auto set the proxy to point to this server.

The available port should not clash with karma web server port.

incorrect path to msl-server/web-server

in https://github.com/FINRAOS/karma-msl/blob/master/lib/index.js, there is a line:

require('../node_modules/msl-server/web-server');

This path is wrong for the one of the projects I am working on -- it should be '../node_modules/msl-server/web-server'. As a result, there will be a "node_modules/msl-server/web-server" not found message the first time you try to run karma. Others have reported that uninstalling and reinstalling modules fixes the problem, but this is the root cause (I don't know how reinstallling fixes this).

The current code seems very dependent on whether modules are installed locally or globally. That's a bad idea. If the web-server configuration is project-specific and not generic, then it should be separate, not part of the module itself, and its location passed in as a parameter. Also, referencing a local module should be done according to http://www.bennadel.com/blog/2169-where-does-node-js-and-require-look-for-modules.htm (I haven't tried this myself).

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.