Hashnode / Hashnode/mern-starter

Hot reload fails after fixing syntax error

Open
#332 2 comments 0 reactions 0 assignees View on GitHub
V2.6.0
Dominant language
JavaScript
Stars
5.1k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

This happens even with the proposed patch of static requires in the routes file.
It is claimed that webpack 2.2.0+ fixes the bug, but config files need some major editing. A quick and dirty workaround is to include the plugin ``webpack.NoErrorsPlugin``.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the static requires in the routes file and the webpack configuration files mentioned in the issue. Check the behavior with webpack 2.2.0+ and the proposed NoErrorsPlugin workaround; done means hot reload works after correcting a syntax error without requiring the workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, webpack
Domain
build-system, developer-experience
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.