asticode / go-astilectron-demo

Discover the power of Astilectron through a demo app
MIT License
404 stars 83 forks source link

running in dev mode #33

Closed ghost closed 6 years ago

ghost commented 6 years ago

It takes ages to do its bundling and so its slow to develop with.

Is there a dev mode to run in a normal browser for instance to get going fast.

I tried:

x-MacBook-Pro:go-astilectron-demo apple$ go run main.go
# command-line-arguments
./main.go:35:13: undefined: Asset
./main.go:36:13: undefined: AssetDir
./main.go:76:18: undefined: RestoreAssets
./main.go:79:20: undefined: handleMessages
x-MacBook-Pro:go-astilectron-demo apple$
asticode commented 6 years ago

@gedw99 you can try go run *.go.

Does it work ?