issue with localhost:8080 reference
Closed this issue · 3 comments
andrewheusser commented
<script src="http://localhost:8080/webpack-dev-server.js"></script>
<script src="http://localhost:8080/build/vendor.js"></script>
<script src="http://localhost:8080/build/app.js"></script>
this doesn't seem to work for me, but it works when i change it to:
<script src="./webpack-dev-server.js"></script>
<script src="./build/vendor.js"></script>
<script src="./build/app.js"></script>
the vendor and app work, but webpack-dev-server still does not. any ideas?
tashoecraft commented
Can you post a screenshot of the error you are getting? In order to get the auto building, it has to be linked to the dev server and not statically linked. The second one works because you have a already built version, so you are linking to a bunch of built assets. The server works for me on master.
andrewheusser commented
andrewheusser commented
Figured out what was going on. I was running npm run build
instead of npm run watch
It works when I run npm run watch
and then in a separate terminal window npm start electron