|
|
|
|
|
by untog
4405 days ago
|
|
Remember to run that watch thingy every time you develop. Well, that's the beauty of it, for me. I run everything through gulp, so I don't need to remember to run the watch thingy - I type: gulp watch
which starts up my dev web server, complete with LiveReload shims enabled. Then when I'm ready to build I do gulp dist
and it packages everything up. |
|
I understand that some people like this workflow, what I don't like about it is when I start working on a project I don't want to spend 15 minutes setting up build scripts, downloading the entirety of npm, etc. I just want to start hacking in the browser. Client-side loaders make that really easy, just drop in the .js file and go.
Again, I know some people like that workflow and I'm not saying you're wrong, just pointing out that there is a tradeoff, it's not a clear win by any stretch.