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.

STATIC FOLDER - files content

See original GitHub issue

Hi, I tried to insert a sub directory called “experience” in the “src/static” folder. Its structure is like in the screenshot: screen shot 2018-08-20 at 11 08 33

I run with the command: cordova run browser -- --lr

When I try to modify one of the static files (index.html, css/default.css, js/default.js), the contents of the modified file are completely deleted.

How can I solve the issue? Do I have to change the configuration of the “webpack.config.js” file? How?

Thanks and regards.

Benedetto

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
caiobioderecommented, Aug 28, 2018

Yes, correctly

1reaction
caiobioderecommented, Aug 23, 2018

Hi @Bek81 I will try this tonight

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using the Static Folder - Gatsby
When to use the static folder · You need a file with a specific name in the build output, such as manifest. ·...
Read more >
How to manage static files (e.g. images, JavaScript, CSS)
Store your static files in a folder called static in your app. ... application and assumes the static content has already been collected...
Read more >
Static files in ASP.NET Core | Microsoft Learn
Static files are stored within the project's web root directory. The default directory is {content root}/wwwroot , but it can be changed ...
Read more >
Static Files - Hugo
By default, the static/ directory in the site project is used for all static files (e.g. stylesheets, JavaScript, images). The static files are...
Read more >
Serving static files in Express
To serve static files such as images, CSS files, and JavaScript files, use the express.static built-in middleware function in Express.
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