-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
src file is changed, not only dest #24
Comments
Did you give a |
Sibling to src. ב-30 באוק 2013, בשעה 00:35, Jarrod Overson notifications@github.com כתב/ה:
|
My definition was wrong, I was using For others, the correct way is: preprocess: {
mobile: {
src: 'app/index.html',
dest: '<%= yeoman.dist %>/index.html',
options: {
context: {
MOBILE: true
}
}
},
web: {
src: 'app/index.html',
dest: '<%= yeoman.dist %>/index.html',
options: {
inline: true,
context: {
WEB: true
}
}
}
}, and added the preprocess in the end of the registered tasks. Thanks for the help :) |
btw, here's my updated Gruntfie.js - hope it helps others :) |
Here's what I've defined, as I want to reload certain scripts for
MOBILE
. However also the originalapp/index.html
keeps changing.I tried to remove the
inline
and give adest
, but didn't work -- what am I missing? :)HTML:
The text was updated successfully, but these errors were encountered: