hackpad icon indicating copy to clipboard operation
hackpad copied to clipboard

cant run "web-workers-2" branch

Open gedw99 opened this issue 2 years ago • 3 comments

Had some time to jump into this rabbit hole again and playing around with File System explorer module, so you get a tree.

On origin/feature/web-workers-2 branch

This is my simple make script that wraps your make script..

"make serve" does not work for me. Any ideas ?


build-init:
	# installs special go.
	cd $(REPO_NAME) && $(MAKE) go

build:
	# builds the many wasm and then the server npm stuff.
	cd $(REPO_NAME) && $(MAKE) build

serve:	
	cd $(REPO_NAME) && $(MAKE) serve

gedw99 avatar Jun 27 '22 14:06 gedw99

"make go" and "make build" work fine and i get all the files in the correct places.

I think i am just missing some command i should be running.

The backend server is npm / nodejs right ?

gedw99 avatar Jun 27 '22 14:06 gedw99

Hey @gedw99! I'll take a look a bit more later, but you might want to give make watch a try. That's the one I usually use for local dev.

JohnStarich avatar Jun 27 '22 18:06 JohnStarich

@gedw99 Any luck with make watch?

Looking at your Makefile, that might not be building the necessary web assembly binaries for you – so you may end up with a blank screen.

JohnStarich avatar Jul 02 '22 19:07 JohnStarich