How to make `wrangler dev` run in background?
I wanna to create a wasm demo for internal usage:
https://developers.cloudflare.com/workers/platform/webassembly/javascript/
I can run by
wrangler dev
in terminal, but need to keep the terminal. Is there any way to make it run in ubuntu's background?Wasm in JavaScript · Cloudflare Workers docs
Wasm can be used from within a Worker written in JavaScript or TypeScript by importing a Wasm module, and instantiating an instance of this module …
1 Reply
One way would be to use a terminal multiplexer like tmux. Here's a brief tutorial:
To install on Ubuntu, run
sudo apt install tmux
.
Run tmux new -s dev
to create a virtual terminal under the name dev
.
To hide the terminal, hit Ctrl + B and then hit D.
To open the terminal again, run tmux attach -t dev
.