Update index.tsx
This commit is contained in:
parent
499b28ede1
commit
280242f021
1 changed files with 7 additions and 0 deletions
|
|
@ -9,6 +9,13 @@ const port = portArgIndex !== -1 && args[portArgIndex + 1] ?
|
||||||
parseInt(args[portArgIndex + 1]) : 3000;
|
parseInt(args[portArgIndex + 1]) : 3000;
|
||||||
|
|
||||||
const server = serve({
|
const server = serve({
|
||||||
|
development: {
|
||||||
|
// New: enable console log streaming
|
||||||
|
console: true,
|
||||||
|
|
||||||
|
// Enable hot module reloading
|
||||||
|
hmr: true,
|
||||||
|
},
|
||||||
port: port,
|
port: port,
|
||||||
routes: {
|
routes: {
|
||||||
// Serve index.html for all unmatched routes.
|
// Serve index.html for all unmatched routes.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue