Project: DuckSauce Notes
What is Ducksauce
Ducksauce is a small pet project I am working on to make everyday work easier with css and javascript cleanups. The hope is to automate those cleanups in controllable way I see fit, and to also make my code more scalable with third party libraries.
Mission
Listen to CSS changes and separate them into a .less file.
Features (Just for starters focusing on css cleanups)
Challenges: Listening to file, watch changes, find what those changes are.
Update
It has been a few dates since I started writing taking my notes but I found a faster solution by adapting the grunt-contrib-watch in to my project.
Other Resources
http://gruntjs.com/
4 Ways to Auto-Refresh your Browser when Designing new Sites - Tuts+ Code Tutorial - For later use!
Validate your .travis.yml file- useful for travis-ci
Ducksauce is a small pet project I am working on to make everyday work easier with css and javascript cleanups. The hope is to automate those cleanups in controllable way I see fit, and to also make my code more scalable with third party libraries.
Mission
Listen to CSS changes and separate them into a .less file.
Features (Just for starters focusing on css cleanups)
- Console system to attach files/directories.
- Listen to CSS files
- Remove changes and separate into a less file.
- Compile new less files with Unmodified Third party styles (Overridering the css results)
- Log changes.
- Refresh page to see the changes? I would like this but it might get annoying.
Challenges: Listening to file, watch changes, find what those changes are.
- filesystems - Node.JS: How does "fs.watchFile" work? - Stack Overflow
- Node.js: Event Emitters and Listeners | Scribblings
- Accessing the File System in Node.js
- Observe file changes with node.js - Stack Overflow
Day 2
Challenges: Load Html, Open Html and display it- node.js - Loading basic HTML in NodeJS - Stack Overflow
- How to use nodejs to open default browser and navigate to a specific URL - Stack Overflow
- Node.js sporadically failing to write file with: Error: ENOENT, open 'filename' - Stack Overflow
- node.js - Get data from fs.readFile - Stack Overflow
- Check synchronously if file/directory exists in Node.js - Stack Overflow
- Synchronous File IO in Node.js | dave eddy
- fs.exists method doesnt exist anymore in node.js - Stack Overflow
Update
It has been a few dates since I started writing taking my notes but I found a faster solution by adapting the grunt-contrib-watch in to my project.
Other Resources
http://gruntjs.com/
4 Ways to Auto-Refresh your Browser when Designing new Sites - Tuts+ Code Tutorial - For later use!
Validate your .travis.yml file- useful for travis-ci