mklabs / node-build-script

MIT License
322 stars 55 forks source link

server command should only open publish folder #56

Open nimbupani opened 12 years ago

nimbupani commented 12 years ago

Why does it also trigger a server on intermediate :| I dont see the utility except to debug node build script itself. If so perhaps there should be a debug command? :P

mklabs commented 12 years ago

Haha, very true.

The idea is that we can quickly see both versions of the app / website. One without any optimizations, one with what generates the build script.

Serving intermediate seems indeed redundant with the publish/ directory. The only difference is that publish can be changed to be a tarball package, if it ends with either .tgz or .tar in config.