2.0.0 • Published 3 years ago

@ts-liveserver/server v2.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

Start server

NPX

npx @ts-liveserver/server

Installed

npm install @ts-liveserver/server
ts-liveserver

Cli options

Serve from directory

npx @ts-liveserver/server ./aDirectory/to/serve/from

Watch

npx @ts-liveserver/server --watch

Source maps

npx @ts-liveserver/server --sourcemaps

Proxy

npx @ts-liveserver/server --proxy=https://www.site1.com/external-1/,https://www.another-site/external-2/

Note about internal NodeJS modules

If one of your dependencies are using internal NodeJS-module, you need to add a conterpart that works in browser that will be resolved by the server. Simply add some of the dependencies to your project in order for this to work:

{
	"dependencies": {
		"events": "^3.3.0",
		"stream": "^0.0.2",
		"buffer": "^6.0.3",
		"util": "^0.12.3",
		"browserify-zlib": "^0.2.0",
		"assert": "^2.0.0"
	}
}
2.0.0

3 years ago

1.0.0

3 years ago

0.5.4

3 years ago

0.5.5

3 years ago

0.7.0

3 years ago

0.6.0

3 years ago

0.5.1

3 years ago

0.5.0

3 years ago

0.4.0

3 years ago

0.3.0

3 years ago

0.2.0

3 years ago

0.1.0

3 years ago

0.0.32

3 years ago

0.0.30

3 years ago