Skip to content

Instantly share code, notes, and snippets.

View kukiron's full-sized avatar
🚀
I do stuff.

Kafil Uddin Kiron kukiron

🚀
I do stuff.
View GitHub Profile
@kukiron
kukiron / README.md
Created September 10, 2017 13:19 — forked from int128/README.md
Watching build mode on Create React App

Create React App does not provide watching build mode oficially (#1070).

This script provides watching build mode for an external tool such as Chrome Extensions or Firebase app.

How to Use

Create a React app.

Put the script into scripts/watch.js.

@kukiron
kukiron / ReloadPlugin.js
Created August 31, 2017 09:52 — forked from timdorr/ReloadPlugin.js
Webpack Chrome Extension Page Reloader Plugin
function ReloadPlugin() {}
ReloadPlugin.prototype.apply = compiler => {
ReloadPlugin.watching = false
compiler.plugin('watch-run', (p, cb) => {
ReloadPlugin.watching = true
cb()
})
@kukiron
kukiron / ultimate-ut-cheat-sheet.md
Created August 21, 2017 04:16 — forked from yoavniran/ultimate-ut-cheat-sheet.md
The Ultimate Unit Testing Cheat-sheet For Mocha, Chai and Sinon

The Ultimate Unit Testing Cheat-sheet

For Mocha, Chai and Sinon

using mocha/chai/sinon for node.js unit-tests? check out my utility: mocha-stirrer to easily reuse test components and mock require dependencies