Fuse-box: devServer naming change proposal for 1.4.1

Created on 16 Mar 2017  路  5Comments  路  Source: fuse-box/fuse-box

Currently, you can launch a devServer without actually having a devServer... with httpServer : false
Which does not make much sense

Ideas combined:

fuse.dev

// everything included
fuse.dev({ port : 4444 }) 

// just socket (for hmr)
fuse.dev({ socket : true, server : false, port : 4444 }) 

// just http server
fuse.dev({ socket : false, port : 4444 }) 

// or like this
fuse.dev({ server : true, socket : false, port : 4444 }) 

fuse.development

How about fuse.development

fuse.playground

// everything included
fuse.playground({ port : 4444 }) 

// just socket (for hmr)
fuse.playground({ socket : true, server : false, port : 4444 }) 

// just http server
fuse.playground({ socket : false, port : 4444 }) 

// or like this
fuse.playground({ server : true, socket : false, port : 4444 }) 

Feature enhancement

Most helpful comment

Thumbs up for fuse.dev

All 5 comments

馃憤 to dev for standard convention

I think if only socket true is passed in, server should default to false, example: fuse.dev({ socket: true })

Thumbs up for fuse.dev

Thumbs up for fuse.development

Thumbs up for fuse.playground

fuse.dev it is ;-)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

calebboyd picture calebboyd  路  5Comments

geowarin picture geowarin  路  4Comments

tomitrescak picture tomitrescak  路  4Comments

leon-andria picture leon-andria  路  4Comments

freehuntx picture freehuntx  路  3Comments