3 ms·
Here's ./dev bash script for node.js projects #!/bin/bash coffee -wcl public/ && coffee -wcbl ./ Uses the local function scope wrapper for js files served to
by weixiyen 16y ago
Here's ./dev bash script for node.js projects
#!/bin/bash
coffee -wcl public/ && coffee -wcbl ./
Uses the local function scope wrapper for js files served to client side in the public folder and removes function scope wrapper for server side files in the entire directory tree.
Type ./dev and I'm up and running.