Skip to content

Get webpack-dev-server working #7

@cgcardona

Description

@cgcardona

The following script watches your code and rebuilds when you save. However it doesn't understand the routes and the page breaks on reload.

"start:dev": "webpack-dev-server --content-base build",

You put that script in package.json under the scripts object and run it w/ npm run start:dev

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions