add static server,websocket refresh watching mode (#149)

* add static server,websocket refresh watching mode

* watch optional

* we dont quit when building error in watch mode

* staticDir,publicUrl configure through dot env

* remove unused import

* serve optional
This commit is contained in:
Bung 2020-07-23 16:40:04 +08:00 • committed by GitHub
commit 98a2d1ce50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 248 additions and 44 deletions

2
.gitignore vendored
View file

@ -3,3 +3,5 @@ nimcache/
karax/tools/karun
*.code-workspace
*.exe
app.js
app.html