esr360 / noah Goto Github PK
View Code? Open in Web Editor NEWNoah is a boilerplate for compiling front-end web apps using NPM build scripts.
Noah is a boilerplate for compiling front-end web apps using NPM build scripts.
Got errors when running the commands with the latest versions of node:
node v4.2.2
npm v4.1.1
Had success running them with these versions however:
node v4.2.2
npm v2.14.7
After running npm run serve
Only updates to /pages trigger a reload which can be annoying when you're working in the /partials or /layouts folder.
Running npm run build
triggers a build which refreshes the browser. One extra step.
When I'm running the watchers + browser sync, and save a file with wrong sass syntax, the entire process stop.
I guess that the correct behavior is show a warning message, and waits other save with the correct syntax to "recompile" sass. This way prevents the developer need to rerun the whole flow again (assemble, compile, etc) to see the result.
I'm working with just one JS file and any changes made have to be saved twice before they show up when browsersync updates the browser. Easily reproducible by putting an alert box that fires on load and toggling comments on it:
var Main = (function() {
document.addEventListener('DOMContentLoaded', function(event) {
//alert('hello alert!');
});
})();
*Note: I turned off karma test task but I don't know if that has anything to do with it.
when I add an console.log(event)
into the watch part of the browsersync task and start the task browsersync I notice that the console starts with the event add
Why is that ? The files are already in place.... nothing is added.
The vendor files don't get concatenated together and put in their irrespective dist/ folders. They just stay in the vendor folder in assets/.
Some plugins have changed, and requires a callback function when run.
Example:
$ yarn sass
yarn sass v0.27.5
warning package.json: No license field
node ./build/tasks/sass.js
dist/css/example.css built.
dist/css/example.min.css built.
(node:1590) DeprecationWarning: Calling an asynchronous function without callback is deprecated.
(node:1590) DeprecationWarning: Calling an asynchronous function without callback is deprecated.
Done in 0.37s.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.