Giter Club home page Giter Club logo

Comments (4)

kenwheeler avatar kenwheeler commented on May 9, 2024

Have you tried not passing any options to the DashboardPlugin constructor? When using the binary, it creates the dashboard instance for you, so you dont need to create an instance and pass the setData handler. Closing, let me know if this works out for you. If not, please reopen.

from webpack-dashboard.

SethTompkins avatar SethTompkins commented on May 9, 2024

This does work after removing all arguments - even having a port argument would cause it to fail.

Before the update, I noticed that error reports were properly syntax highlighted. With the new version it seems that they are non-colorized.

screen shot 2016-08-18 at 7 38 27 am

Seems like a pretty nitpicky thing, I was just curious if it was an intentional change or not.

from webpack-dashboard.

kenwheeler avatar kenwheeler commented on May 9, 2024

Arguments from dashboard or arguments from your webpack command? If you specify port you need to pass it with -p to the dashboard bin, and then as { port: yourport } to the plugin constructor.

from webpack-dashboard.

SethTompkins avatar SethTompkins commented on May 9, 2024

Ah, yea I was just passing the port # to the constructor in my webpack.config.js. I did not realize that it needed to be passed to the bin as well. In the docs it reads as an either/or kind of thing.

from webpack-dashboard.

Related Issues (20)

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.