-
Using the plugin technique in my Gulp environment.
``` JS
var watchify = require('watchify');
watcher = watchify(bundler);
watcher.plugin(hmr);
```
Builds ok, but when browser runs, I am getting:
…
-
``` sh
build the project when begins to watch...
run "scripts.prebuild" ...
ERR! SyntaxError: Unexpected end of input
at Object.parse (native)
at Client._dealServerData (/usr/local/share/npm/l…
-
gulpfile.babel.js:
```javascript
import gulp from 'gulp';
import useref from 'useref';
import browserSync from 'browser-sync';
import {create} from 'browser-sync';
const bs = create();
gu…
ghost updated
7 years ago
-
```sh
docker swarm leave -f
```
```sh
$ docker service scale nodeapp_web=4
```
針對 nodeapp_web service多開4個instance
-
NWJS Version : 0.46.0 through 0.47.0
Operating System : Win7 vs Win10 (versus Debian/Ubuntu)
Custom application still implementing NW1 mode. https://github.com/emuflight/EmuConfigurator
### Expec…
-
1. css 引入的字体:如果生成了后缀,会找不到;
2. 每次所有的文件都生成新的后缀其实是不必要的,只需要给修改过的文件添加即可。
-
There is an unexpected bug in how the option `{start: true}` is working.
I am using this file:
``` js
https://github.com/dmitriz/gulp-automation/blob/gulp-lr-start/Gulpfile.js
```
When I first run `…
-
I'm runing 'gulp-imagemin'
module.js:549
throw err;
^
Error: Cannot find module 'gulp-imagemin'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._…
-
I'm attempting to use a custom layout for the style guide output. However, this doesn't seem to work
In my gulpfile, I have this:
``` JS
var styleguideOptions = {
site: {
title: 'Bloc{CSS} Doc…
-
Relevant piece of my gulpfile:
``` nodejs
.pipe(haml({
require: [
"date",
"./lib/haml/render.rb",
]
}))
```
This results in error:
`'LoadError: cannot load such file -- date…