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 Name does not refresh on re-build

See original GitHub issue

Description

When running app through npm start, the app’s name is not updated in page. It works as expected (app name changed) when running npm run serve though.

Expected Behavior

Modifying the app name in index.ts should change the text in the header on the app

Actual Behavior

Modifying the appName variable in index.ts does not change the text in the header on the app (still says ARCGIS TEMPLATE APP)

Steps to Reproduce

  1. npm install -g @arcgis/cli
  2. mkdir temp
  3. cd temp
  4. arcgis create demo .
  5. npm start
  6. Open src/index.ts in a text editor, and modify the string Template App to anything else (Ex: test)
  7. Notice that the webmack build happens, and the page is refreshed, but the title in the page still says ARCGIS TEMPLATE APP image

Your Environment

  • Version used: @arcgis/cli@4.7.3
  • Browser Name and version: Chrome latest
  • Operating System and version (desktop or mobile): Windows 10 Enterprise, v1607

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
jccartwrightcommented, Jul 30, 2018

My experience seems to confirm this. I installed 4.8.3 on a machine that had not seen any earlier versions of @arcgis/cli and it worked as expected, i.e. service workers not used in development mode.

0reactions
gavinrcommented, Jan 3, 2020

Seems like this is now working fine for me in v4.13.0. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular application does not refresh content on change ...
However the Angular app does not refresh/change content when it detects changes in one of its files. Interestingly it does some rebuilding, ...
Read more >
Updating Files Does not Cause HMR Reload #659 - GitHub
I'm working in an application with lots of nested directories and .js files. ... after I modify and save the file, it simply......
Read more >
Classes reference does not refresh - Visual Studio Feedback
When I create a new class, i can not see it in another class unless i close ... Here is some actions: rebuild...
Read more >
How and when to force a Flutter widget rebuild - LogRocket Blog
This means Flutter won't redraw itself, and the current widget won't be rebuilt at the appropriate moment. As a result, you need to...
Read more >
Repair apps and programs in Windows - Microsoft Support
You can repair some apps and programs if they're not running correctly. ... Select the Advanced options link under the name of the...
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