App Name does not refresh on re-build
See original GitHub issueDescription
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
npm install -g @arcgis/cli
mkdir temp
cd temp
arcgis create demo .
npm start
- Open
src/index.ts
in a text editor, and modify the stringTemplate App
to anything else (Ex:test
) - Notice that the webmack build happens, and the page is refreshed, but the title in the page still says
ARCGIS TEMPLATE APP
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:
- Created 5 years ago
- Comments:7 (2 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
Seems like this is now working fine for me in v4.13.0. Thanks!