Skip to content
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

COMPASS-261: Automatically recompile when changes saved to source #669

Closed
wants to merge 1 commit into from

Conversation

durran
Copy link
Member

@durran durran commented Dec 10, 2016

This removes the need for the COMPILE_CACHE=false environment variable for the .jsx, .md, and .jade files to be recompiled in development mode when a change is detected. Simply run npm start as normal and if a change to any of these files happens, the compile cache will detect it and remove the cached version. This forces a recompile on refresh. (You will still need to CMD+R but only 1 file will recompile instead of everything like before.)

screen shot 2016-12-10 at 2 42 15 pm

This has no affect on production - files are not watched in that mode, only in development.

@durran
Copy link
Member Author

durran commented Dec 11, 2016

Was rebased in #670 closing this pull.

@durran durran closed this Dec 11, 2016
@durran durran deleted the improved-compile-cache branch December 11, 2016 14:56
@imlucas imlucas changed the title Use improved compile cache COMPASS-261: Recompile assets when source changed Dec 15, 2016
@imlucas imlucas changed the title COMPASS-261: Recompile assets when source changed COMPASS-261: Automatically recompile when changes saved to source Dec 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant