electron-userland / electron-userland/electron-webpack
[Question] How to load files from external folders when running dev
- Dominant language
- TypeScript
- Stars
- 902
- Forks
- 168
- PR merge metrics
- No merged PRs in 30d
Description
* **Version**:
* **Target**:
Hi folks:
This is more of a question than an issue so sorry if it's the wrong channel, maybe someone else has run into this too.
My application loads files from the user folder (/users/...) and that works fine when not running as dev, because as dev it loads from a webserver that electron-webpack creates. So these files are not accessible it seems.
:9080/Users/uri/beat…efault/select.ogg:1
Failed to load resource: the server responded with a status of 404 (Not Found)
I'm wondering if there is a way to fix this? Otherwise I'd need to dist every time I want to test which makes the process much less optimized, no debugger etc.
Thanks.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.