question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

App dev server does not recompile on changes

See original GitHub issue

If you are reporting a bug, please fill in below. Otherwise feel free to remove this template entirely.

Description

What are you reporting? The app dev server does not recompile on changes.

Expected behavior

Tell us what you think should happen. The app dev server should restart.

Actual behavior

Tell us what actually happens. It does not compile.

Environment

Run these commands in the project folder and fill in their results:

  1. npm ls react-scripts (if you haven’t ejected): `-- react-scripts@0.6.1
  2. node -v: v4.4.4
  3. npm -v: 3.10.5

Then, specify:

  1. Operating system: Windows 10 64 Bit
  2. Browser and version: Google Chrome 53

Reproducible Demo

Please take the time to create a new app that reproduces the issue.

Alternatively, you could copy your app that experiences the problem and start removing things until you’re left with the minimal reproducible demo.

(Accidentally, you might get to the root of your problem during that process.)

Push to GitHub and paste the link here.

By doing this, you’re helping the Create React App contributors a big time! Demonstrable issues gets fixed faster.

This is not required because I am using the exact fresh build from create-react-app {name}. Here is a demo: https://i.gyazo.com/3d097648393810af1079a7c40915596b.gif

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
gaearoncommented, Oct 15, 2016
0reactions
tianhuilcommented, Sep 16, 2018

Might also be because you are not importing the file in question: https://github.com/wmonk/create-react-app-typescript/issues/228#issuecomment-358228279

Read more comments on GitHub >

github_iconTop Results From Across the Web

Webpack dev server not recompiling when files change
I had a file SomeFolder/someFile.js , but it was being imported as ../somefolder/somefile (all lowercase). Changing the capitalization in ...
Read more >
Development - webpack
You can instruct webpack to "watch" all files within your dependency graph for changes. If one of these files is updated, the code...
Read more >
webpack-dev-server - npm
Serves a webpack app. ... Note: While you can install and run webpack-dev-server globally, ... --no-devtool Do not generate source maps.
Read more >
webpack-dev-server (3.6.0): What I wish I knew | by Nick Arthur
Nothing changing even though you can load your site and the compile is successful? There's a good chance you're actually serving up your...
Read more >
Mix phx.server does not recompile on changes! - Elixir Forum
Hi all. Quick question. I have a phoenix app which does not recompile when I change any elixir code in dev mode. What...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found