tech5usa / TLSential

A server for providing short-lived TLS certificates to all services within a firewall restricted network.
GNU General Public License v3.0
15 stars 2 forks source link

Move JS dependencies into npm and support hot module replacement #73

Closed KorvinSzanto closed 4 years ago

KorvinSzanto commented 4 years ago

If you're not familiar with HMR, it allows you to save a resource file like a js or css file and see those changes show up in the browser nearly immediately: hmr-example

This method of development for JS and CSS is a lot quicker than building manually or using the watch script, and is supported using the ui.mix(...) function added to the ui service.

By the way this PR has less in it than it looks, once #67 merges this PR will have less modifications.

KorvinSzanto commented 4 years ago

I'm confused why the tests would fail on this? I don't see the failure.

d1str0 commented 4 years ago

BTW, if you run 'go test ./...' in the root dir for the project, you should see any compilation errors.

KorvinSzanto commented 4 years ago

I didn't see the error when I ran the circleci test locally or when I reviewed the circle ci log, can you point it out to me?