Skip to content

This site can't be reached on location.reload() #6669

Open
@Hagalas

Description

@Hagalas

NWJS Version : 0.31.0 sdk
Operating System : OS X El Capitan

Expected behavior

Hi, I would like to make live reloading while saving files during development.
I tried 'nw-dev' from https://github.com/nwjs/nw.js/wiki/Livereload-nw.js-on-changes
but every solution I think uses location.reload method.

Actual behavior

When I save any file app reloads and gives "This site cannot be reached".
location.href is "chrome-extension://root-domain/dist/" but after reload its "chrome-error://chromewebdata/"
I have to add that I use angular5, build it to dist and attach bundles to main html.

Any help or advice would be great.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions